From: Matthias Schmidt Date: Mon, 20 Apr 2015 15:40:55 +0000 (+0200) Subject: Fix default marker clusterer image path when using HTTPS X-Git-Tag: 2.1.4~65 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ab587abc718888047d924207dd58d90e630d3bf1;p=GitHub%2FWoltLab%2FWCF.git Fix default marker clusterer image path when using HTTPS --- diff --git a/wcfsetup/install/files/js/WCF.Location.js b/wcfsetup/install/files/js/WCF.Location.js index 1bd98036d5..4fb601dea0 100644 --- a/wcfsetup/install/files/js/WCF.Location.js +++ b/wcfsetup/install/files/js/WCF.Location.js @@ -458,7 +458,9 @@ WCF.Location.GoogleMaps.LargeMap = WCF.Location.GoogleMaps.Map.extend({ } this._markerClusterer = new MarkerClusterer(this._map, this._markers, { - maxZoom: 17 + maxZoom: 17, + // replace default value for https support + imagePath: MarkerClusterer.prototype.MARKER_CLUSTER_IMAGE_PATH_.replace(/^http:/, '') }); this._markerSpiderfier = new OverlappingMarkerSpiderfier(this._map, {