Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #11401 -- Update geographic admin to use OpenLayers 2.8 as Open…

…StreetMap does not support previous versions. Thanks, yourcelf for ticket and patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11125 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 422adffa11b57475d871ad2d1e33b04974d68f06 1 parent cb9cf01
Justin Bronn jbronn authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/gis/admin/options.py
2  django/contrib/gis/admin/options.py
View
@@ -32,7 +32,7 @@ class GeoModelAdmin(ModelAdmin):
map_height = 400
map_srid = 4326
map_template = 'gis/admin/openlayers.html'
- openlayers_url = 'http://openlayers.org/api/2.7/OpenLayers.js'
+ openlayers_url = 'http://openlayers.org/api/2.8/OpenLayers.js'
point_zoom = num_zoom - 6
wms_url = 'http://labs.metacarta.com/wms/vmap0'
wms_layer = 'basic'
Please sign in to comment.
Something went wrong with that request. Please try again.