diff options
Diffstat (limited to 'design/templates/gis')
-rw-r--r-- | design/templates/gis/admin/google.js | 2 | ||||
-rw-r--r-- | design/templates/gis/admin/osm.html | 2 | ||||
-rw-r--r-- | design/templates/gis/admin/osm_extra.js | 4 |
3 files changed, 7 insertions, 1 deletions
diff --git a/design/templates/gis/admin/google.js b/design/templates/gis/admin/google.js index a7d1467..3ecb766 100644 --- a/design/templates/gis/admin/google.js +++ b/design/templates/gis/admin/google.js @@ -1,2 +1,2 @@ {% extends "gis/admin/openlayers.js" %}
-{% block base_layer %}new OpenLayers.Layer.Google("Google Base Layer", {'type': G_NORMAL_MAP, 'sphericalMercator' : true});{% endblock %}
\ No newline at end of file +{% block base_layer %}new OpenLayers.Layer.Google("Google Base Layer", {'type': G_NORMAL_MAP, 'sphericalMercator' : true});{% endblock %}
diff --git a/design/templates/gis/admin/osm.html b/design/templates/gis/admin/osm.html new file mode 100644 index 0000000..e27526a --- /dev/null +++ b/design/templates/gis/admin/osm.html @@ -0,0 +1,2 @@ +{% extends "gis/admin/openlayers.html" %} +{% block openlayers %}{% include "gis/admin/osm_extra.js" %}{% endblock %} diff --git a/design/templates/gis/admin/osm_extra.js b/design/templates/gis/admin/osm_extra.js new file mode 100644 index 0000000..774be47 --- /dev/null +++ b/design/templates/gis/admin/osm_extra.js @@ -0,0 +1,4 @@ +{% extends "gis/admin/openlayers.js" %} +{% block base_layer %} +new OpenLayers.Layer.XYZ( "ESRI", "http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/${z}/${y}/${x}", {sphericalMercator: true} ); +{% endblock %} |