Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Download tar.gz
647.88 KB
MD5: a48cb9eebb13ca50b4e9cca7bd2c064d
SHA-1: e3d23c690f46d7efd393b3beb8a30aa30fd2a1ab
SHA-256: 976efaaac48a0b05b4d2b53d3efd7299c9c34e2dc18a8a3c9d35dddfbdc7cfdf
Download zip
854.95 KB
MD5: 6c851c256916b949ee9f03e0ed9c36fd
SHA-1: 4168ddef26e7fea051078a354f793e9b2fd28bf5
SHA-256: e6b616604ffbcc56d693885cfcf28781d18e5e2413dfff3e597d88cd438bcf11
Release notes
Changes since 7.x-3.0-beta3:
- Small update before release.
- Fix contextual links submodule and hook_openlayers_object_postprocess_alter().
- Fix openlayers_block.
- Add elements as dependency, needed for some maps.
- Add project namespace for dependencies. You need to use Drupal >= 7.40. See https://www.drupal.org/node/2299747
- Julia/Manderbrot set optimizations.
- #2577841: Add Opentopomap map example.
- Fix some PHPCS warnings.
- Merge pull request #17 from drupol/openlayers-geofield-new-control
- Remove the custom DragFeature interaction, it's now provided by default with Openlayers 3.9.0.
- Remove the typeof statements.
- The source of the Geofield formatter layer gets now filled in in PHP, no more in the JS component. Use a GeofieldFormatter and GeofieldWidget Component to see the difference between the input of data and the output.
- Remove the control 'Autozoom' from the geofield map so it doesn't produce an error when the openlayers_examples module is not enabled.
- Update exportables and some tweak in the settings form. Replace Mapnik layer with Cyclemap layer.
- Restore default options in openlayers_geofield.
- Remove configuration from the component. This should be handled later in the Control.
- Now that goog closure is completely removed, update the code accordingly.
- Add missing custom control export.
- Update exportables and some tweak in the settings form. Remove openlayers.Source:Geofield, now replaced with openlayers.Source:Vector.
- Fix Openlayers Examples so maps with differents interactions are working.
- Update DragFeature interaction.
- The Geofield component can now select a default vector layer where style can be applied. Fix a couple of bug related to styles. Update exportables. Fix Geofield Component JS.
- Convert the geofieldControl control and adjust the component from using Google Closure to regular Javascript.
- Add the AutoZoom component to the default Geofield map.
- Add support for lineDash in styles and provide a default Geofield edit style.
- New editing toolbar for Openlayers Geofield.
- #2573005 by m.stenta: Set Google Maps "tilt" to 0
- Fix path to image.
- Update openlayers links from 3.8.2 to 3.9.0.
- Replace the custom DragFeature interaction with the new Translate interaction, now provided by default with Openlayers 3.9.0.
- Merge branch '7.x-3.x' of git.drupal.org:project/openlayers into drupal-7.x-3.x
- Add Logistic component and example.
- Fix merge
- More JSLint compliant code. Removed unecessary typeof statements. Detach a map automatically delete the JS object by default.
- Update hook_libraries_info() with latest additions from libraries_cdn.
- Fix distance comparison in zoomDistance handling of the cluster source.
- Use optionsFormSubmit() instead of getJS().
- Code style: Reduce the PHPCS errors in IDE.
- Make sure data.opt exist event if it's empty.
- Enhanced the layer zoomActivity handling within the LayerSwitcher.
- Ooops, removed developing leftover.
- Added options to configure clustering distance per zoom level. Allows to team-up with server side clustering and switching to client side clustering with spiderfier on closer range.
- Update title of the select input.
- Merge branch '7.x-3.x' of git.drupal.org:project/openlayers into 7.x-3.x
- Remove hook_libraries_info_alter(), small performance improvement.
- Update related to the removal of openlayers_cdn.
- Remove useless module openlayers_cdn and update README.
- Now depending on the new module 'libraries_cdn'.
- Don't expect the variant to have a name - fallback to the key of the variation as label.
- Prevent error if the variant name doesn't contains dash characters.
- Tiny coding standard cleanup.
- Remove the CDN name in the options now that we are using optgroups.
- Better local library detection.
- Update README according to the latest changes.
- Provide a new submodule 'openlayers_cdn' that offers an integration with CDNs.
- Update to latest openlayers version in the .make.example file.
- Update README with the latest changes in the module. (CDN)
- Add a method to Openlayers class that returns the JS library version.
- crossOrigin parameter fix for XYZ and OSM source plugin.
- Remove setting 'openlayers.debug' and use the newly introduced 'variant'.
- Fix merge.
- Added an option to allow settings the variant of the library to use. This allows to use a custom built openlayers distribution. To do so implement hook_libraries_info_alter() and add a custom variant.
- Merge pull request #23 from drupol/cdn
- Merge pull request #24 from drupol/remove-goog-closure-calls
- CDN library loading.
- Remove JS goog calls.
- Found a solution to the unavailable loadFeatures() function on compiled ol. Abuse the strategy callback to enforce a features reload - if enabled.
- Fix some typos in the README.md file.
- Ensure the feature reload code works in non-debug mode.
- Add documentation in the README.md file.
- Fix for formatters in openlayers_field.
- Openlayers version upgrade to 3.8.2.
- Replace ol3js.org with openlayers.org and openlayers version.
- Convert the AutoZoom control from using Goog closure to regular Javascript.
- Fix a few coder warnings.
- Add hook_hook_info() and api file for documentation.
- Replace Mapnik layer with Cyclemap layer.
- Fix className.
- Add custom Export control and example map that goes with it.
- Add configurable options to the JSGeocoder.
- Add a simple JS Geocoder who uses the Google API to geocode addresses. Provides also an example map.
- #2545512 by m.stenta: Use default zoom level in ZoomToSource
- Merge pull request #20 from drupol/Refactoring-style-handling
- Add example map: Features and Interactions.
- Add the DragFeature interaction.
- Add more options to the Select interaction and fix a small bug in the Circle style.
- Update Random source plugin.
- Add Random style plugin. Add Random source plugin. Update Select interaction.
- Update Select and Snap interactions to actually work as it should. Add RegularShape style plugin and a couple of examples.
- Refactoring style handling.
- Code cleanup.
- Add missing methods in the Error class, so now it doesn't crash the whole page when an object is not available.
- Merge pull request #19 from mstenta/truncate-styles
- Truncate the styles table during update to remove old OL 2.x styles.
- #2543326: Use fillcolor property for custom Circle styles.
- Fix a bug in the submit handler of the map edition form. It wasn't saving the extent type.
- Merge pull request #18 from drupol/Fix-ZoomToSource-Component
- Backport improvements from the new control to the component.
- Provide an AutoZoom control button to automatically extent the view to the features uppon click.
- Add support for layer Group in ZoomToSource Component.
- Use getFirstCoordinate() method instead of flatCoordinates.
- Merge pull request #16 from drupol/Styles-Popup-Autopopup
- Fix Autopopup behavior. Provide new option to enable or disable the popup closer for Autopopup and Popup component. Provide a new invisible style. (Example: when using Autopopup component).
- Merge pull request #15 from drupol/Split-Openlayers-Examples
- Split openlayers_examples in two modules.
- Merge pull request #13 from drupol/Move-functions-around
- Merge pull request #14 from mstenta/LayerSwitcher-preBuild
- File tidying.
- File tidying. Let's keep the hooks only in the .module file.
- Allow LayerSwitcher parent preBuild() method to run.
- Merge pull request #12 from drupol/unique-popup-id
- Merge pull request #11 from drupol/New-Formatters-Addressfield-Textfield
- Add new formatters.
- Make sure that popups IDs are unique when displaying multiple maps on the same page with the Popup component enabled.
- Enhance geofield integration in forms: Ensure opening a collapsed fieldset will update the map size.
- Object::getJS() seems to remove any JS option that is named after a plugin type. This is special knowledge we should document!
- Coding style fixes.
- Re-added lost helper function.
- Merge pull request #9 from drupol/LayerSwitcherChanges
- Merge pull request #10 from drupol/Issue-2539456
- Update ZoomToSource.php
- Allow multiple sources to be selected.
- Change to very defensive code since it seems like sometimes the event object doesn't have the methods it should have.
- Only zoom to source if source has features - otherwise we wont get a proper extend to zoom to.
- Make editing a geofield more defensive.
- Handle "GEOMETRYCOLLECTION EMPTY" in a geofield compatible way.
- #2539384 by m.stenta: Geofield component can't delete features individually
- The event object doesn't seem to provide the stopPropagation() method. Use preventDefault() instead and investigate.
- Update CSS.
- Fix conflicts.
- Add a new LayerSwitcher from https://github.com/walkermatt/ol3-layerswitcher.
- #2500037 by m.stenta: Synchronize database tables in update 7350
- #2456859 by m.stenta: Upgrade Error from 7.x-2.0-beta11 to 7.x-3.0-beta1
- Revert "Issue #2500037 by m.stenta: Synchronize database tables in update 7350"
- #2475355 by m.stenta, robertwb: Add WMS Layer Support to OL3
- Update openlayers_examples so it can run with Leaflet.
- Fix Quicktabs integration.
- Fix Contextual links that were including the map object.
- Update openlayers_services to only the necessary CSS and JS needed to display the map, nothing else.
- New map "Layer clipping" in openlayers_examples, based on official example: http://openlayers.org/en/master/examples/layer-clipping.html
- Fix contextual links.
- Fix typo in export.
- Display Map Attributions on the default UI map and in openlayers_examples page too. Removed useless options on Layer Tile. Update plugin description.
- Update Map::build().
- Add Permalink component in openlayers_examples.
- Add forgotten Control: OverviewMap. Update default UI map.
- Fix the PHP Fatal error with the Debug component.
- Merge remote-tracking branch 'github/7.x-3.x' into github-7.x-3.x
- Update Map::build(), move to Map::attached() the JS handling. Fix some stuff here and there. Move to the CSS file the hardcoded static CSS properties so they can be overriden by user.
- Update preBuild() method.
- Small changes to the Swipe and SpinJS components.
- Small variable name change for consistency.
- #2535130 by paranojik: Allow refreshing translatable string
- Added a "Edit map" link to openlayer panes.
- Add ProgressBar component.
- Add a SpinJS component that display a spinner behind the map before loading it.
- Display more information when an object doesn't provide the JS plugin that goes with it.
- Fix error display and warnings.
- Update map edition form, code is easier to read and understand. Update default weight of objects.
- Move default edit map to the openlayers_ui module. Add capabilities to it.
- Add 'Plugin description' to Debug Component.
- Fix Google Maps integration.
- Fix the Fullscreen component and try to fix google maps.
- Update Fullscreen component description.
- Update PHPDoc of method getMachineName().
- Add Map Capabilities form in map edition. Remove defaultProperties() method. Fix order of object merging in Collection. Reworked the init() method. Provide new API methods: getMachineName(), getName(), getDescription(), getFactoryService(), getPluginDescription() Add description to some Control and Interaction components.
- Just process elements in the given context in the behavior handling: Could speed up the JS handling on JS / ajax heavy sites.
- Move google maps markup to the proper location.
- More defensive initialization if google maps.
- The collection now uses a associative array to handle "duplicated" objects. Introduced ObjectInterface::getMachineName() to access the machine name of an object.
- Fix openlayers_services to provides maps in an iframe.
- Remove helpers file and put helper function in Openlayers class.
- Remove uneeded 'sources' from exported maps. Update the Collection object handling. Fix asynchronous class setting. Update function _floatval_if_numeric().
- Fix map edition.
- Fix sub-object importing (ex: cluster source)
- Remove a Javascript error.
- Multiple improvements in the objects loading methods.
- Update example to include the ViewSync component by default.
- Add ViewSync component as example.
- Fix a small bug in openlayers_field.
- New submodule Openlayers Field: Provide an 'Openlayers Map' field for your entities.
- Fix Map layers table headers.
- Use a custom Annotation plugin to avoid name collision with other module (ex: leaflet).
- Disable JS Debug in Debug Component because it doesn't work in AJAX. Will be probably re-enabled later.
- Disable Debug by default now that we have a component.
- Add Debug component and example.
- Fine tuning the way map are rendered.
- Remove useless line.
- Fix Openlayers Views javascript.
- Fix Simple popup javascript.
- Fix logic in map saving and init.
- Fix typo.
- Fix some remaining bugs.
- Update Graticule map example.
- Remove syncOptions() method (follow up)
- Seems like the top group is never ended. Resulting in all subsequent console.log() to be grouped in the openlayers group.
- Be more fault tolerant. Empty no matter what string / array whatever doesn't need processing.
- Remove syncOptions() method.
- Better handling of Objects options. $object->configuration must not be updated. It's the base configuration of an object. All the changes are made to $object->options.
- Fix tooltip position in Timezone example.
- JS Export optimization.
- Update Fractal example, add the length information.
- Update Icon sprites example and Image static.
- Update Fractal example.
- Add Fractal example.
- Reduce the size of the JS for each object.
- Modify the behavior of the extent parameter and the options in the map edit.
- Add module version to openlayers_examples page.
- Do not render the property limit_extent if not extent is set. Convert integer to integer; float to float, but doesnt convert integer to float.
- Fix raw usage of $this->options in Geofield component. Use the getter / setter instead.
- Update to Openlayers 3.7.0.
- Update timezone map and CSS.
- Remove extent from Map view when limit_extent is not set. Fix.
- Add new map example: Timezones, based on http://openlayers.org/en/master/examples/kml-timezones.html
- Remove extent from Map view when limit_extent is not set.
- Use $object->configuration['options'] instead of $object->options.
- Update the style tab in the map edit form.
- Improve the way all components types are saved in a map. This needs to be expanded to other components forms.
- Improve the way layers and sources are saved in a map. This needs to be expanded to every forms.
- Fix warnings when adding components on a new map. Do not export the maps exports in the map export.
- Revert "Fix blank page when editing layers in a map."
- Fix blank page when editing layers in a map.
- Add Swipe example exports.
- Add Swipe example.
- Updated the conditions since the typecasting sometimes seems to fail(?!?)
- Merge pull request #7 from das-peter/7.x-3.x-defensive
- Maximum defensive code to avoid fatal failure when registry is broken and / or registry is rebuild
- Update Geolocation example component.
- Fix bug.
- Update the way Collections are built.
- Update syncOptions method.
- Merge pull request #6 from drupol/Add-pre-render-callback
- [Summer cleanup]
- Fix Geofield integration.