From: Matthias Schmidt Date: Fri, 25 Apr 2014 13:58:40 +0000 (+0200) Subject: Add maxZoom to marker clusterer in WCF.Location.GoogleMaps.LargeMap X-Git-Tag: 2.0.6~16 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f9c4ea7cfc2e2cf9c908e10de654170f808838cd;p=GitHub%2FWoltLab%2FWCF.git Add maxZoom to marker clusterer in WCF.Location.GoogleMaps.LargeMap --- 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,