diff options
Diffstat (limited to 'templates/gis')
-rw-r--r-- | templates/gis/admin/google.html | 5 | ||||
-rw-r--r-- | templates/gis/admin/google.js | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/templates/gis/admin/google.html b/templates/gis/admin/google.html new file mode 100644 index 0000000..460d28d --- /dev/null +++ b/templates/gis/admin/google.html @@ -0,0 +1,5 @@ +{% extends "gis/admin/openlayers.html" %}
+{% block extrastyle %}{{ block.super }}
+<style type="text/css">v\:* {behavior:url(#default#VML);}</style>
+{% endblock %}
+{% block openlayers %}{% include "gis/admin/google.js" %}{% endblock %}
\ No newline at end of file diff --git a/templates/gis/admin/google.js b/templates/gis/admin/google.js new file mode 100644 index 0000000..a7d1467 --- /dev/null +++ b/templates/gis/admin/google.js @@ -0,0 +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 |