aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/web/base/maps/fms.html2
-rw-r--r--templates/web/base/maps/openlayers.html3
2 files changed, 4 insertions, 1 deletions
diff --git a/templates/web/base/maps/fms.html b/templates/web/base/maps/fms.html
index d4302e72e..31e050ba1 100644
--- a/templates/web/base/maps/fms.html
+++ b/templates/web/base/maps/fms.html
@@ -10,4 +10,4 @@
<![endif]-->
[% END %]
-[% map_html = INCLUDE maps/openlayers.html %]
+[% map_html = INCLUDE maps/openlayers.html include_key = 1 %]
diff --git a/templates/web/base/maps/openlayers.html b/templates/web/base/maps/openlayers.html
index 48eb896e8..27c71f42f 100644
--- a/templates/web/base/maps/openlayers.html
+++ b/templates/web/base/maps/openlayers.html
@@ -22,6 +22,9 @@ var fixmystreet = {
'numZoomLevels': [% map.numZoomLevels %],
'zoomOffset': [% map.zoomOffset %],
'map_type': [% map.map_type %],
+[% IF include_key -%]
+ 'key': '[% c.config.BING_MAPS_API_KEY %]',
+[%- END %]
'pins': [% INCLUDE maps/pins_js.html %]
}
</script>