aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/base')
-rw-r--r--templates/web/base/maps/google.html2
-rw-r--r--templates/web/base/maps/openlayers.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/web/base/maps/google.html b/templates/web/base/maps/google.html
index e8c07b113..eaa462c6c 100644
--- a/templates/web/base/maps/google.html
+++ b/templates/web/base/maps/google.html
@@ -14,7 +14,7 @@ $.extend(fixmystreet, {
'area': [ [% map.area.join(',') %] ],
'latitude': [% map.latitude %],
'longitude': [% map.longitude %],
-[% IF map.any_zoom -%]
+[% IF map.zoomToBounds -%]
'zoomToBounds': 1,
[%- END %]
[% IF map.zoom -%]
diff --git a/templates/web/base/maps/openlayers.html b/templates/web/base/maps/openlayers.html
index 524075371..2f748cb19 100644
--- a/templates/web/base/maps/openlayers.html
+++ b/templates/web/base/maps/openlayers.html
@@ -11,7 +11,7 @@
[%- END %]
data-latitude=[% map.latitude %]
data-longitude=[% map.longitude %]
-[% IF map.any_zoom -%]
+[% IF map.zoomToBounds -%]
data-zoomToBounds=1
[%- END %]
[% IF map.zoom -%]