diff options
Diffstat (limited to 'templates/web/base/maps/openlayers.html')
-rw-r--r-- | templates/web/base/maps/openlayers.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/templates/web/base/maps/openlayers.html b/templates/web/base/maps/openlayers.html index 215b69d26..8f8d527e2 100644 --- a/templates/web/base/maps/openlayers.html +++ b/templates/web/base/maps/openlayers.html @@ -6,7 +6,9 @@ <input type="hidden" name="zoom" value="[% map.zoom %]"> <div id="js-map-data" +[%- UNLESS c.cobrand.call_hook('hide_areas_on_reports') %] data-area="[% map.area.join(',') %]" +[%- END %] data-all_pins='[% all_pins %]' data-latitude=[% map.latitude %] data-longitude=[% map.longitude %] @@ -16,13 +18,14 @@ [% IF map.zoom -%] data-zoom=[% map.zoom %] [%- END %] - data-pin_prefix='[% c.config.ADMIN_BASE_URL IF admin %][% c.cobrand.path_to_pin_icons %]', + data-pin_prefix='[% c.config.ADMIN_BASE_URL IF admin %][% c.cobrand.path_to_pin_icons %]' + data-pin_new_report_colour='[% c.cobrand.pin_new_report_colour %]' data-numZoomLevels=[% map.numZoomLevels %] data-zoomOffset=[% map.zoomOffset %] data-map_type="[% map.map_type %]" [% IF include_key -%] data-key='[% c.config.BING_MAPS_API_KEY %]' -[%- END %] +[%- END -%] > </div> <div id="map_box" aria-hidden="true"> |