diff options
author | luxagraf <sng@luxagraf.net> | 2014-05-08 19:44:58 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2014-05-08 19:44:58 -0400 |
commit | 58e402a077c710c04934e3a7ddc25883427d1f64 (patch) | |
tree | 485506e3c1805a793f2d5920751f53c400b08aac /design/templates/gis/admin | |
parent | 5f430f31474847ac50fa017dc1397c3bde2d140d (diff) |
added birding app, fixed a few python-related bugs throughout the code base.
Diffstat (limited to 'design/templates/gis/admin')
-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 %} |