From 1f43ff8850ff2ae60fa88d6267c1f4c1ff651b86 Mon Sep 17 00:00:00 2001 From: David Drury Date: Mon, 26 Dec 2016 14:14:09 +0000 Subject: Fixes issue #1150. Min zoom level for place hierarchy map set by the parameter in module preferences (value of 1 restricts zoom to "one earth") (#1151) --- app/Module/GoogleMapsModule.php | 1 + 1 file changed, 1 insertion(+) (limited to 'app/Module') diff --git a/app/Module/GoogleMapsModule.php b/app/Module/GoogleMapsModule.php index b0b2c6815e..e3c98395c0 100644 --- a/app/Module/GoogleMapsModule.php +++ b/app/Module/GoogleMapsModule.php @@ -2491,6 +2491,7 @@ class GoogleMapsModule extends AbstractModule implements ModuleConfigInterface, // Create the map and mapOptions var mapOptions = { + minZoom: ' . $this->getSetting('GM_MIN_ZOOM') . ', zoom: 8, center: map_center, mapTypeId: google.maps.MapTypeId.' . $this->getSetting('GM_MAP_TYPE') . ', -- cgit v1.3