Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated OpenLayers version from 2.11 to 2.13

  • Loading branch information...
commit 21c2bfdff37142215e1252700fb43455ca40cc3a 1 parent dd839a2
@claudep claudep authored
View
2  django/contrib/gis/admin/options.py
@@ -31,7 +31,7 @@ class GeoModelAdmin(ModelAdmin):
map_height = 400
map_srid = 4326
map_template = 'gis/admin/openlayers.html'
- openlayers_url = 'http://openlayers.org/api/2.11/OpenLayers.js'
+ openlayers_url = 'http://openlayers.org/api/2.13/OpenLayers.js'
point_zoom = num_zoom - 6
wms_url = 'http://vmap0.tiles.osgeo.org/wms/vmap0'
wms_layer = 'basic'
View
4 django/contrib/gis/forms/widgets.py
@@ -81,7 +81,7 @@ class OpenLayersWidget(BaseGeometryWidget):
template_name = 'gis/openlayers.html'
class Media:
js = (
- 'http://openlayers.org/api/2.11/OpenLayers.js',
+ 'http://openlayers.org/api/2.13/OpenLayers.js',
'gis/js/OLMapWidget.js',
)
@@ -96,7 +96,7 @@ class OSMWidget(BaseGeometryWidget):
class Media:
js = (
- 'http://openlayers.org/api/2.11/OpenLayers.js',
+ 'http://openlayers.org/api/2.13/OpenLayers.js',
'http://www.openstreetmap.org/openlayers/OpenStreetMap.js',
'gis/js/OLMapWidget.js',
)
View
6 docs/releases/1.7.txt
@@ -186,6 +186,12 @@ Minor features
``html_email_template_name`` parameter used to send a multipart HTML email
for password resets.
+:mod:`django.contrib.gis`
+^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+* The default OpenLayers library version included in widgets has been updated
+ from 2.11 to 2.13.
+
:mod:`django.contrib.messages`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Please sign in to comment.
Something went wrong with that request. Please try again.