From ab587abc718888047d924207dd58d90e630d3bf1 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Mon, 20 Apr 2015 17:40:55 +0200 Subject: [PATCH] Fix default marker clusterer image path when using HTTPS --- 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 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, { -- 2.20.1