summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2015-05-25 17:31:26 +0200
committerClaude Paroz <claude@2xlibre.net>2017-01-02 19:45:52 +0100
commit2ebfda38e65177dfc7d6e90457ffa4a0fa2796f0 (patch)
treebcaac49031969e5e9663ac01d726c0b60651c5da /docs/ref
parentf996f7366724c75a74fc316b456e6bee98688077 (diff)
Fixed #25004 -- Updated OpenLayers-based widget to OpenLayers 3
Thanks Tim Graham for the review.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/contrib/gis/forms-api.txt15
1 files changed, 11 insertions, 4 deletions
diff --git a/docs/ref/contrib/gis/forms-api.txt b/docs/ref/contrib/gis/forms-api.txt
index dae758c8cc..30279fe44d 100644
--- a/docs/ref/contrib/gis/forms-api.txt
+++ b/docs/ref/contrib/gis/forms-api.txt
@@ -164,18 +164,25 @@ Widget classes
isn't suitable for production use since it offers no guaranteed uptime
and runs on a slow server.
- .. _tailored to your needs: http://docs.openlayers.org/library/deploying.html
+ Also, the widget nows uses OpenLayers 3 instead of OpenLayers 2.
+
+ .. _tailored to your needs: http://openlayers.org/en/latest/doc/tutorials/custom-builds.html
``OSMWidget``
.. class:: OSMWidget
- This widget uses an OpenStreetMap base layer (Mapnik) to display geographic
- objects on.
- ``template_name`` is ``gis/openlayers-osm.html``.
+ This widget uses an OpenStreetMap base layer to display geographic objects
+ on. ``template_name`` is ``gis/openlayers-osm.html``.
The :class:`OpenLayersWidget` note about JavaScript file hosting above also
applies here. See also this `FAQ answer`_ about ``https`` access to map
tiles.
+ .. versionchanged:: 1.11
+
+ OpenLayers 2.x has been dropped in favor of OpenLayers 3. If you extend
+ the ``gis/openlayers-osm.html`` template, please review your custom
+ template.
+
.. _FAQ answer: https://help.openstreetmap.org/questions/10920/how-to-embed-a-map-in-my-https-site