mirror of https://github.com/django/django.git
Updated the geographic admin to use OpenLayers 2.11.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16846 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
3ac877840a
commit
30745b2e65
|
@ -31,7 +31,7 @@ class GeoModelAdmin(ModelAdmin):
|
||||||
map_height = 400
|
map_height = 400
|
||||||
map_srid = 4326
|
map_srid = 4326
|
||||||
map_template = 'gis/admin/openlayers.html'
|
map_template = 'gis/admin/openlayers.html'
|
||||||
openlayers_url = 'http://openlayers.org/api/2.10/OpenLayers.js'
|
openlayers_url = 'http://openlayers.org/api/2.11/OpenLayers.js'
|
||||||
point_zoom = num_zoom - 6
|
point_zoom = num_zoom - 6
|
||||||
wms_url = 'http://labs.metacarta.com/wms/vmap0'
|
wms_url = 'http://labs.metacarta.com/wms/vmap0'
|
||||||
wms_layer = 'basic'
|
wms_layer = 'basic'
|
||||||
|
|
Loading…
Reference in New Issue