aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/maps/openlayers.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/base/maps/openlayers.html')
-rw-r--r--templates/web/base/maps/openlayers.html2
1 files changed, 1 insertions, 1 deletions
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 -%]