diff options
Diffstat (limited to 'templates/web/default/maps/openlayers.html')
-rw-r--r-- | templates/web/default/maps/openlayers.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/web/default/maps/openlayers.html b/templates/web/default/maps/openlayers.html index 7da732913..b7cf705b0 100644 --- a/templates/web/default/maps/openlayers.html +++ b/templates/web/default/maps/openlayers.html @@ -9,6 +9,9 @@ var fixmystreet = { 'latitude': [% map.latitude %], 'longitude': [% map.longitude %], +[% IF map.any_zoom -%] + 'zoomToBounds': 1, +[%- END %] [% IF map.zoom -%] 'zoom': [% map.zoom %], [%- END %] |