aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/maps/openlayers.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/base/maps/openlayers.html')
-rw-r--r--templates/web/base/maps/openlayers.html3
1 files changed, 3 insertions, 0 deletions
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>