aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/default/maps/openlayers.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/default/maps/openlayers.html')
-rw-r--r--templates/web/default/maps/openlayers.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/web/default/maps/openlayers.html b/templates/web/default/maps/openlayers.html
index 7da732913..45551c3d5 100644
--- a/templates/web/default/maps/openlayers.html
+++ b/templates/web/default/maps/openlayers.html
@@ -7,8 +7,14 @@
<input type="hidden" name="zoom" value="[% map.zoom %]">
<script type="text/javascript">
var fixmystreet = {
+ 'page': '[% page %]',
+ 'area': '[% map.area %]',
+ 'all_pins': [% all_pins || "''" | html %],
'latitude': [% map.latitude %],
'longitude': [% map.longitude %],
+[% IF map.any_zoom -%]
+ 'zoomToBounds': 1,
+[%- END %]
[% IF map.zoom -%]
'zoom': [% map.zoom %],
[%- END %]