From f9c4ea7cfc2e2cf9c908e10de654170f808838cd Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Fri, 25 Apr 2014 15:58:40 +0200 Subject: [PATCH] Add maxZoom to marker clusterer in WCF.Location.GoogleMaps.LargeMap --- wcfsetup/install/files/js/WCF.Location.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/js/WCF.Location.js b/wcfsetup/install/files/js/WCF.Location.js index c08ac45d40..d7e38bc5a2 100644 --- a/wcfsetup/install/files/js/WCF.Location.js +++ b/wcfsetup/install/files/js/WCF.Location.js @@ -424,7 +424,9 @@ WCF.Location.GoogleMaps.LargeMap = WCF.Location.GoogleMaps.Map.extend({ this._locationSearch = new WCF.Location.GoogleMaps.LocationSearch(locationSearchInputSelector, $.proxy(this._centerMap, this)); } - this._markerClusterer = new MarkerClusterer(this._map, this._markers); + this._markerClusterer = new MarkerClusterer(this._map, this._markers, { + maxZoom: 17 + }); this._proxy = new WCF.Action.Proxy({ showLoadingOverlay: false, -- 2.20.1