diff options
| author | David Drury <ddrury@users.noreply.github.com> | 2016-12-26 14:14:09 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2016-12-26 14:14:09 +0000 |
| commit | 1f43ff8850ff2ae60fa88d6267c1f4c1ff651b86 (patch) | |
| tree | f3a22127555f0e993e700c556b08459b74ac37eb /app/Module | |
| parent | b7a5c73dbfb27b561ec6742a9779c7954b18b0af (diff) | |
| download | webtrees-1f43ff8850ff2ae60fa88d6267c1f4c1ff651b86.tar.gz webtrees-1f43ff8850ff2ae60fa88d6267c1f4c1ff651b86.tar.bz2 webtrees-1f43ff8850ff2ae60fa88d6267c1f4c1ff651b86.zip | |
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)
Diffstat (limited to 'app/Module')
| -rw-r--r-- | app/Module/GoogleMapsModule.php | 1 |
1 files changed, 1 insertions, 0 deletions
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') . ', |
