diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/base/maps/openlayers.html | 2 | ||||
-rw-r--r-- | templates/web/bromley/maps/bromley.html | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/templates/web/base/maps/openlayers.html b/templates/web/base/maps/openlayers.html index bc71847ad..18829c5c4 100644 --- a/templates/web/base/maps/openlayers.html +++ b/templates/web/base/maps/openlayers.html @@ -19,7 +19,7 @@ data-pin_prefix='[% c.config.ADMIN_BASE_URL IF admin %][% c.cobrand.path_to_pin_icons %]', data-numZoomLevels=[% map.numZoomLevels %] data-zoomOffset=[% map.zoomOffset %] - data-map_type=[% map.map_type %] + data-map_type="[% map.map_type %]" [% IF include_key -%] data-key='[% c.config.BING_MAPS_API_KEY %]' [%- END %] diff --git a/templates/web/bromley/maps/bromley.html b/templates/web/bromley/maps/bromley.html new file mode 100644 index 000000000..aa5789c1c --- /dev/null +++ b/templates/web/bromley/maps/bromley.html @@ -0,0 +1,9 @@ +[% map_js = BLOCK %] +<script type="text/javascript" src="[% version('/js/OpenLayers/OpenLayers.fixmystreet.js') %]"></script> +<script type="text/javascript" src="[% version('/js/map-OpenLayers.js') %]"></script> +<script type="text/javascript" src="[% version('/js/map-bing-ol.js') %]"></script> +<script type="text/javascript" src="[% version('/js/map-fms.js') %]"></script> +<script type="text/javascript" src="[% version('/cobrands/bromley/map.js') %]"></script> +[% END %] + +[% map_html = INCLUDE maps/openlayers.html include_key = 1 %] |