Skip to content

Commit

Permalink
http change to https
Browse files Browse the repository at this point in the history
  • Loading branch information
Olicek authored May 4, 2017
1 parent 2783618 commit 65884fd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client-side/googleMapAPI.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,15 +287,15 @@ 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');
}
},

doIcon: function(option, marker)
{
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']
Expand Down Expand Up @@ -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);
}
}

0 comments on commit 65884fd

Please sign in to comment.