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.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/web/base/maps/openlayers.html b/templates/web/base/maps/openlayers.html
index d01e98138..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>
@@ -49,7 +52,7 @@ var fixmystreet = {
[% INCLUDE compass %]
</noscript></div>
[% IF map.copyright %]
- <p id="copyright">[% map.copyright %]</p>
+ <div class="olControlAttribution" style="position: absolute;">[% map.copyright %]</div>
[% END %]