Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Release notes
Voila, this is it !
This release add a number of new exciting features and enhancements, read on below !
First, a special thanks to Augustus Kling who made a wonderful patch to support custom projections handling, he's now an official maintainer.
Pay attention ! OpenLayers requires now Proj4js and Libraries in order to work properly.
So, if you plan to upgrade, be sure that those two modules are installed and enabled.
Also, don't forget to make a backup too, we never know what could happend ! (drush ard is your best friend)
Module developers, don't forget to update your modules !
Here's a guide, it's really easy.
I'll try to release a new version every three month, I think it's a good pace.
Don't forget to report correctly the new bugs you will encounter, we have updated the frontpage of the module with some guidelines, please, read them.
Now the word of the end, I hope you'll enjoy this release as much as we enjoyed doing it, I have plenty of new features and ideas for the next versions :-)
See you in the next release, in 3 months, after Portland DC ! :-)
Highlights in this release
- Support for custom projections. - Augustus Kling
- Rewrite the display of behaviors in the map form. - Pol Dell'Aiera, 26 hours ago
- Improve the Zoom To Layer behavior. - Augustus Kling, 3 days ago
- Add Image Layer type, backport from 7.x-3.x. - Pol Dell'Aiera, 5 days ago
- Simulate console.* API in case the browser does not provide it. bug #1953090: Simulate console.* API in case the browser does not provide it. - Augustus Kling, 5 days ago
- Fix #1950066: Add WMTS layer type: Add WMTS layer type. - friedjoff, 9 days ago
- Updating MapTiler and TMS Layers Types. Be aware that the MapTiler type is just an extension of the TMS Layer Type which is more complete. Some changes has been done in the TMS Layer Type to work with MapTiler maps. In the future the MapTiler Layer Type will be removed and you will have to use the TMS Layer Type. - Pol Dell'Aiera, 9 days ago
- #1940410: Find a way to get rid of inline code: proj4js now a dependency - Pol Dell'Aiera, 3 weeks ago
- Removed the OpenLayers Layer Type Mapbox. MapBox was using the MapBox layer type, which is an extension of the TMS class. Now, MapBox layers are using the TMS layer type. The base_url has been renamed in url for more consistency, an update function is provided but it might break things if your layers are exported in code, be aware. This makes less code to maintain and less JS when using MapBox layer type \o/ ! - Pol Dell'Aiera, 3 weeks ago
- Add libraries as a dependency. - Pol Dell'Aiera, 6 weeks ago
- Use module Libraries to detect and load OpenLayers. - Pol Dell'Aiera, 6 weeks ago
- Provide a makefile to automatically download the OpenLayers library. Provide a drush command 'dl-openlayers' to download the OpenLayers library. - Pol Dell'Aiera, 6 weeks ago
- Add an edit link for each layers in the map form. - Pol Dell'Aiera, 6 weeks ago
- Projection handling refactoring. (900913 -> EPSG:900913, 4326 -> EPSG:4326) Removed yahoo layers. Use drupal_html_id() instead of custom function. Add name for Bing layer types. Update OSM Layer type. - Pol Dell'Aiera, 7 weeks ago
- Issue #1677522: Cluster Strategy by ditcheva: Cluster Strategy - ditcheva, 7 weeks ago
- Better data consistency when saving layers. Replace 'baselayer' by 'isBaseLayer'. - Pol Dell'Aiera, 9 weeks ago
- Adds a new Control behavior Graticule. See: http://goo.gl/KifGr - Pol Dell'Aiera, 9 weeks ago
- Refactoring of the layer_type class and layers types bundled in the module. It's now easier to extend the module. - Pol Dell'Aiera, 9 weeks ago
- Follow up #1903858: KML Layer not displayed: Rewrite the KML Layer from the ground. Should be working. Added an option to allow the upload of a file. Added an example layer to quickly test. - Pol Dell'Aiera, 8 weeks ago
- Add a check on the plugin definition of a behavior. - Pol Dell'Aiera, 9 weeks ago
- Issue #1351786: Support Drupal image styles in Openlayers Styles: Support dynamic markers and images styles in styles. - Pol Dell'Aiera, 9 weeks ago
- Issue #1811370: Improved default Dark theme callout box by jwilson3: Improved default Dark theme callout box. - jwilson3, 9 weeks ago
- Add Save And Edit button on map form. Fix a stupid bug in OpenLayers Views. - Pol Dell'Aiera, 9 weeks ago
- Fix issue #1672272: Support for google maps cookie-free embedding: Support for Google maps cookie-free embedding. - Pol Dell'Aiera, 3 months ago
- Remove remaining references to virtualearth and replace them with Bing. - Pol Dell'Aiera, 3 months ago
- Allow the edition of overlay layers produced by views from the map edit form. - Pol Dell'Aiera, 3 months ago
- Issue #1816826: Make responsive themes work with OpenLayers: Make responsive themes work with OpenLayers. - Pol Dell'Aiera, 3 months ago
Bug fixes
- Fix array iteration Do not longer rely on the presence of Object.keys as it is not available in IE8 Redraw layer initially to ensure it is hidden if resolution restrictions apply - Augustus Kling, 5 days ago
- Fix #1951336: Markers disappear upon saving values for graphicXOffset or graphicYOffset, #1907096: markers do not work after upgrade to latest 2.x-dev and #1949392: Evaluate dynamic replacement value before checking correct style property value. - Pol Dell'Aiera, 6 days ago
- Fix #1951926: PHP 5.4 compatibility: PHP 5.4 compatibility - jcisio, 6 days ago
- Fix WMTS layer. - Pol Dell'Aiera, 9 days ago
- Make sure that 'resolutions' and 'maxExtent' are float value instead of strings. MapTiler layer type should work now. - Pol Dell'Aiera, 10 days ago
- Fix #1458930: Use protocol relative urls to include external libraries.: OSM does not serve up tiles via HTTPS. - Pol Dell'Aiera, 10 days ago
- Ensuring list of projection stays a plain list and it not changed to a map by Drupal's form API issue #1331410: Better Handling of Projections - Augustus Kling, 11 days ago
- Do not attempt to show warning about mismatching map extent to users that don't have a console API - Augustus Kling, 12 days ago
- Fix #1922412: IE message:"Error during map rendering: TypeError: Unable to get value of the property 'transform': object is null or undefined", fix JS loop. - Pol Dell'Aiera, 3 weeks ago
- Adapting to changed behaviour of projection definition loading in proj4js module. See issue #1940410: Find a way to get rid of inline code. - Augustus Kling, 3 weeks ago
- Modifying older update hooks so that they don't fail with current code-base. Migrate projection and display projection of existing maps and layers. - Augustus Kling, 3 weeks ago
- Loading Proj4js using proj4js module's API issue [#1331410 - Augustus Kling, 3 weeks ago
- Fixed comments regarding updates - Augustus Kling, 3 weeks ago
- Fixing wrongly done merge - Augustus Kling, 3 weeks ago
- Use same style to get projections from ctools exports than other objects - Augustus Kling, 4 weeks ago
- Add missing imports - Augustus Kling, 4 weeks ago
- Do not override the projection of vector layers - Augustus Kling, 4 weeks ago
- Adding missing dependency for KML upload - Augustus Kling, 4 weeks ago
- Save maps after migrating them - Augustus Kling, 5 weeks ago
- Handle projection handling manually - Augustus Kling, 6 weeks ago
- Removing trailing whitespaces as they violate Drupal's conventions - Augustus Kling, 6 weeks ago
- Removing trailing whitespaces as they violate Drupal's conventions - Augustus Kling, 6 weeks ago
- Discard whitespace that violate Drupal's conventions - Augustus Kling, 6 weeks ago
- Drop WMS validation as Drupal applies it also for non-WMS layers - Augustus Kling, 6 weeks ago
- Call OpenLayers.Map as described in its documentation - Augustus Kling, 6 weeks ago
- Set wrap date line to prevent OpenLayers from loading invalid tiles - Augustus Kling, 6 weeks ago
- Removing trailing whitespace - Augustus Kling, 6 weeks ago
- Discarding srs option of layers after migration - Augustus Kling, 6 weeks ago
- Showing specific error message when user forgets to choose a base layer - Augustus Kling, 6 weeks ago
- Drupal coding conventions - Augustus Kling, 6 weeks ago
- Modifying spaces to be conformant with Drupal coding conventions - Augustus Kling, 6 weeks ago
- Using varchar instead of text column type for consistency with existing definitions - Augustus Kling, 6 weeks ago
- Using proj4js modules instead of providing proj4js in openlayers module - Augustus Kling, 6 weeks ago
- Removing Windows-style line breaks - Augustus Kling, 6 weeks ago
- Creating table for projection definitions during migration - Augustus Kling, 6 weeks ago
- Adding default configuration for British National Grid - Augustus Kling, 6 weeks ago
- Store projection identifier instead of relying on PHP to do correct serialization of projection objects - Augustus Kling, 6 weeks ago
- Require the layer name to be present as invalid configuration arise when it's empty - Augustus Kling, 6 weeks ago
- Prepare updating - Augustus Kling, 6 weeks ago
- Basic handling of map extent restrictions in combination with projection support bug [#2090568] - Augustus Kling, 7 weeks ago
- Fixing extent for EPSG:900913 bug [#2090568] - Augustus Kling, 7 weeks ago
- Basic projection support bug [#2090568] - Augustus Kling, 7 weeks ago
- Fix #1934924: Attribution separator cannot be overridden in OL map UI: Fix typo in attribution behavior. - Pol Dell'Aiera, 4 weeks ago
- Fix image_style_create_derivative() call. - Pol Dell'Aiera, 5 weeks ago
- Fix MapQuest OpenAerial layer type, thanks @ekes. - Pol Dell'Aiera, 5 weeks ago
- KMl Layer now is able to save the file correctly. - Pol Dell'Aiera, 7 weeks ago
- Issue #1914350: Add OpenLayers.Protocol.Script() to the geoJSON layer for requesting data from other servers by ChrisNelson: Add OpenLayers.Protocol.Script() to the geoJSON layer for requesting data from other servers - ChrisNelson, 7 weeks ago
- Fix a bug in openlayers_views who prevent the use of the default marker when no style is set through the view. - Pol Dell'Aiera, 7 weeks ago
- Fix #1630464: openlayers_map_load should return clone of object: openlayers_map_load should return clone of object - Pol Dell'Aiera, 8 weeks ago
- Fix #1904424: Layer machine names with capital letters no longer editable and #1646646: Label class/style problem when using Openlayers Dev version: CSS update. - Pol Dell'Aiera, 8 weeks ago
- Issue #805796: Limit the display of features per zoom levels.: Limit zoom levels for features on map. - katbailey, 9 weeks ago
- Follow up for #1811370: Improved default Dark theme callout box: Adding missing CSS. - Pol Dell'Aiera, 9 weeks ago
- Follow up for #1811370: Improved default Dark theme callout box: Updates. - Pol Dell'Aiera, 9 weeks ago
- Follow up on #1354184: Layers: Option handling cleanup.: Updates. - Pol Dell'Aiera, 9 weeks ago
- Fix #1904424: Layer machine names with capital letters no longer editable: Set the field 'name' in lowercase for layers, styles and maps. Be aware that this will probably break things. - Pol Dell'Aiera, 8 weeks ago
- Issue #1354184: Layers: Option handling cleanup. by das-peter: refactoring layers: Option handling cleanup. - Pol Dell'Aiera, 9 weeks ago
- Issue #1888328: Openlayers GeoJSON Views arguments by tikaszvince: Openlayers GeoJSON Views arguments - tikaszvince, 9 weeks ago
- Issue #1876702: Popup only works once: Popup only works once - Pol Dell'Aiera, 9 weeks ago
- Fix issue #1877118: Buttons overlap: Buttons for "full screen" and "draw features" overlap. - Pol Dell'Aiera, 3 months ago
- Issue #1885308: Catch unavailable layers by friedjoff: Catch unavailable layers - friedjoff, 3 months ago
- Issue #768294: Views Block still visible without values in OpenLayers view: Views block still visible without values in Openlayers view. - fluffy, 3 months ago
- Issue #1876702: Popup only works once and #1369012: Popups cannot be closed after zoom when clusters enabled: Fixed. - Pol Dell'Aiera, 3 months ago
Enhancements
- Rewrite the drawfeatures behaviors to use the addBehaviors helper function. Use jQuery() instead of $(). - Pol Dell'Aiera, 26 hours ago
- Updating the library version detection. - Pol Dell'Aiera, 26 hours ago
- Remove dead code related to dateline wrapping - Augustus Kling, 3 days ago
- Notify about failed KML downloads instead of continuing and failing less obviously later - Augustus Kling, 4 days ago
- Handle save of projection in base layer only - Augustus Kling, 4 days ago
- Fix maxExtent option in WMTS layer type. Use OpenLayers.Bounds.fromArray instead of new OpenLayers.Bounds - Pol Dell'Aiera, 5 days ago
- Simplify code and access array properly (any change in behavior resulting from this commit is probably a bug) - Augustus Kling, 5 days ago
- Adding a #maxlength property for resolutions and serverResolutions. - Pol Dell'Aiera, 9 days ago
- Discarding check for method existence as existence is guaranteed by inheritance issue [#1331410 - Augustus Kling, 11 days ago
- Calling options_form_submit of base layer for KML layer to keep projection list's type correct as in 85e636ea3f2e9522454004a79eb2fb153ba532c7 issue #1331410: Better Handling of Projections - Augustus Kling, 11 days ago
- Making EPSG:3857 available in the client to enable it to get the restricted extents of maps right independent of the map configuration - Augustus Kling, 11 days ago
- Handle more edge cases during update issue [#1331410 - Augustus Kling, 13 days ago
- Remove labels that are shown beside enabled-checkbox in overlay list bug #1331410: Better Handling of Projections - Augustus Kling, 2 weeks ago
- Update example code Provide more pointed exception message bug #1943968: Layer Projections defined without projection authority cause "Exception: Projection 900913 requested but not supported" - Augustus Kling, 2 weeks ago
- Automatic calculation of resolutions for WMS layers - Augustus Kling, 7 weeks ago
- Providing default projections for central Europe refs [#2090568] - Augustus Kling, 7 weeks ago
- Convert transparency parameter to representation that matches with WMS specification - Augustus Kling, 7 weeks ago
- Fix code indentation. - Pol Dell'Aiera, 3 weeks ago
- Change the textfield element for 'layers' in WMS layer type into a textarea. - Pol Dell'Aiera, 4 weeks ago
- Dynamic markers, display the default marker even if the style field doesn't contain a value. - Pol Dell'Aiera, 5 weeks ago
- Transform string value in integers in the JSON for the styling attributes. - Pol Dell'Aiera, 5 weeks ago
- Use jQuery.once(). - Pol Dell'Aiera, 6 weeks ago
- Width and height of the map are set through template instead of the Javascript file. This remove a TODO from openlayers.js. - Pol Dell'Aiera, 7 weeks ago
- Set status of uploaded file to permanent for KML layer type. - Pol Dell'Aiera, 7 weeks ago
- Issue #1677522: Cluster Strategy : Cluster Strategy - ditcheva, 7 weeks ago
- Remove trailing spaces. - Pol Dell'Aiera, 7 weeks ago
- Fix bug in MapBox JS. - Pol Dell'Aiera, 8 weeks ago
- Set center to 0,0 for Google Example map. - Pol Dell'Aiera, 8 weeks ago
- Fix #1155150: JPG support for MapTiler: Add a select to set the type. PNG and JPG is available. - Pol Dell'Aiera, 8 weeks ago
- Follow up #1903858: KML Layer not displayed: Updates to the KML stuff. - Pol Dell'Aiera, 8 weeks ago
- Fix #1903858: KML Layer not displayed: Rewrite the KML Layer from the ground. Should be working. Added an option to allow the upload of a file. Added an example layer to quickly test. - Pol Dell'Aiera, 8 weeks ago
- Update Example GeoJSON map. - Pol Dell'Aiera, 9 weeks ago
- Updating logic in layer type handling. - Pol Dell'Aiera, 9 weeks ago
- Update default mapquest OSM layer. Fix "Example GeoJSON Map'. Update resolutions array to 21 resolutions instead of 18. Add zoomOffset parameter to layer type xyz, you can now restrict zoom per layer. Removed default 'maxExtent' parameter until further notice. - Pol Dell'Aiera, 9 weeks ago
- Remove stuff on layer type xyz. - Pol Dell'Aiera, 9 weeks ago
- Replace 'baselayer' with 'isBaseLayer'. - Pol Dell'Aiera, 9 weeks ago
- Google Maps update in layer default arguments. - Pol Dell'Aiera, 9 weeks ago
- Adding sphericalMercator parameters to Google layer type. - Pol Dell'Aiera, 9 weeks ago
- Prevent warning on map list when no layer is set. - Pol Dell'Aiera, 9 weeks ago
- Adding transitionEffect => 'resize' by default. - Pol Dell'Aiera, 9 weeks ago
- Improved OpenLayers Views layer type. - Pol Dell'Aiera, 9 weeks ago
- Fix strict warning. - Pol Dell'Aiera, 9 weeks ago
- Now using a textarea in xyz layer and saving the data in it as an array in the database, this is done thanks to the options_form_validate() newly added. - Pol Dell'Aiera, 9 weeks ago
- Removed console.log. - Pol Dell'Aiera, 9 weeks ago
- Removed useless lines of code. - Pol Dell'Aiera, 9 weeks ago
- Adding .gitignore file. - Pol Dell'Aiera, 9 weeks ago
- Add a function to check if a plugin definition is valid. Some small changes in the layers ui logic. Now, if a $layer->options_form() is empty, it means that it cannot be added through the UI, no need to hardcode the layer type names who are not 'addable' through ui, like openlayers_layer_type_views. - Pol Dell'Aiera, 9 weeks ago
- Form rewrite part 1, the layer form. Do not generate an error when adding a layer with same name. Fix a bug who prevent the Restrict Extent feature in the map form not to work correctly. - Pol Dell'Aiera, 2 months ago
- Change the way layers from views are displayed in the map edit form. - Pol Dell'Aiera, 3 months ago
- Fix indentation. Thanks @dasjo. - Pol Dell'Aiera, 3 months ago
- Fix class name for admin title. - Pol Dell'Aiera, 3 months ago