Fix JavaScript error when using minified marker clusterer
authorMatthias Schmidt <gravatronics@live.com>
Wed, 6 May 2015 15:22:43 +0000 (17:22 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Wed, 6 May 2015 15:22:43 +0000 (17:22 +0200)
wcfsetup/install/files/js/WCF.Location.js

index 75c2468f7344f041bd48685c94acd55e4f773a46..fd5961e7c42887be35a97b69eeedc86f9e85aaff 100644 (file)
@@ -460,7 +460,7 @@ WCF.Location.GoogleMaps.LargeMap = WCF.Location.GoogleMaps.Map.extend({
                this._markerClusterer = new MarkerClusterer(this._map, this._markers, {
                        maxZoom: 17,
                        // replace default value for https support
-                       imagePath: MarkerClusterer.prototype.MARKER_CLUSTER_IMAGE_PATH_.replace(/^http:/, '')
+                       imagePath: '//google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/images/m'
                });
                
                this._markerSpiderfier = new OverlappingMarkerSpiderfier(this._map, {