1
0
mirror of https://github.com/django/django.git synced 2025-10-27 15:46:10 +00:00

Fixed #17915 -- Switched GeoModelAdmin default WMS layer URL from Metacarta to OSGeo.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17762 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Claude Paroz
2012-03-17 20:13:06 +00:00
parent f0b9bb2ef9
commit b452439a6e
2 changed files with 3 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ class GeoModelAdmin(ModelAdmin):
map_template = 'gis/admin/openlayers.html'
openlayers_url = 'http://openlayers.org/api/2.11/OpenLayers.js'
point_zoom = num_zoom - 6
wms_url = 'http://labs.metacarta.com/wms/vmap0'
wms_url = 'http://vmap0.tiles.osgeo.org/wms/vmap0'
wms_layer = 'basic'
wms_name = 'OpenLayers WMS'
debug = False