Permalink
Browse files

Updated OpenLayers version from 2.11 to 2.13

  • Loading branch information...
1 parent dd839a2 commit 21c2bfdff37142215e1252700fb43455ca40cc3a @claudep claudep committed Oct 12, 2013
Showing with 9 additions and 3 deletions.
  1. +1 −1 django/contrib/gis/admin/options.py
  2. +2 −2 django/contrib/gis/forms/widgets.py
  3. +6 −0 docs/releases/1.7.txt
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`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0 comments on commit 21c2bfd

Please sign in to comment.