From 65884fd93b61c56f6f7d942a2719e74aaa17cbe7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Oli=C5=A1ar?= Date: Thu, 4 May 2017 12:58:16 +0200 Subject: [PATCH] http change to https --- client-side/googleMapAPI.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client-side/googleMapAPI.js b/client-side/googleMapAPI.js index 972a766..4b22bce 100644 --- a/client-side/googleMapAPI.js +++ b/client-side/googleMapAPI.js @@ -287,7 +287,7 @@ GoogleMap.prototype = { if ("color" in option && base.allowColors.indexOf(option['color']) >= 0) { - marker.setIcon('http://maps.google.com/mapfiles/ms/icons/'+option['color']+'-dot.png'); + marker.setIcon('https://maps.google.com/mapfiles/ms/icons/'+option['color']+'-dot.png'); } }, @@ -295,7 +295,7 @@ GoogleMap.prototype = { { if ("icon" in option) { - var host = "http://"+window.location.hostname; + var host = "https://"+window.location.hostname; if( option['icon'] instanceof Object ) { var icon = { url: host+this.basePath + '/' + option['icon']['url'] @@ -336,4 +336,4 @@ function loadScript() { script.src = 'https://maps.googleapis.com/maps/api/js?v=3.exp&' + 'callback=map.initialize'+key; document.body.appendChild(script); -} \ No newline at end of file +}