Code

Ticket #11401: update_osmadmin_to_OL2.8.diff

File update_osmadmin_to_OL2.8.diff, 577 bytes (added by yourcelf, 5 years ago)
Line 
1Index: django/contrib/gis/admin/options.py
2===================================================================
3--- django/contrib/gis/admin/options.py (revision 10838)
4+++ django/contrib/gis/admin/options.py (working copy)
5@@ -32,7 +32,7 @@
6     map_height = 400
7     map_srid = 4326
8     map_template = 'gis/admin/openlayers.html'
9-    openlayers_url = 'http://openlayers.org/api/2.7/OpenLayers.js'
10+    openlayers_url = 'http://openlayers.org/api/2.8/OpenLayers.js'
11     point_zoom = num_zoom - 6
12     wms_url = 'http://labs.metacarta.com/wms/vmap0'
13     wms_layer = 'basic'