var currentInfoWindow = null; //最後に開いた情報ウィンドウを記憶
var contentStr = null;
var stationList = [
{"latlng":[34.688795343060200,
135.185904055784930],
name:"MRS.TENOR(ミセス テノール)",
shopImg:"https://www.refle.info/salonImg/NTk1MUAxMEA2MTE3NzQ2MGMwMzUxQDkwQDQyMA%3D%3D.jpeg",
open:"1",
icon:"/images/googlemap/open/icon_massage.png",
scaledSize : new google.maps.Size(30, 34.5),
manage:"30",
genreName:"メンズエステ",
url:"/shop/mrstenor/",
shopName:"MRS.TENOR(ミセス テノール)",
shopTel:"080-6165-6916",
reserve:"(予約優先)",
time:"10:00~翌5:00(受付時間9:00~翌3:30)",
closed:"年中無休",
mapDisable:"0"
},
{"latlng":[34.688786542360690,
135.185909456577000],
name:"STAR LIGHT(スターライト)",
shopImg:"https://www.refle.info/salonImg/NzUzNkAxMEA2MzA1OGYzN2I4NTRjQDkwQDQyMA%3D%3D.jpeg",
open:"2",
icon:"/images/googlemap/close/icon_massage_close.png",
scaledSize : new google.maps.Size(30, 34.5),
manage:"30",
genreName:"メンズエステ",
url:"/shop/starlight/",
shopName:"STAR LIGHT(スターライト)",
shopTel:"070-8937-8648",
reserve:"(予約優先)",
time:"10:00~翌4:00",
closed:"不定休",
mapDisable:"0"
},
{"latlng":[34.687855400000000,
135.191275600000040],
name:"Ganesha(ガネェーシャ)",
shopImg:"https://www.refle.info/salonImg/QEBAOTBANDIw.jpeg",
open:"2",
icon:"/images/googlemap/close/icon_mbeauty.png",
scaledSize : new google.maps.Size(20, 23),
manage:"5",
genreName:"メンズエステティック",
url:"/shop/ganesha888/",
shopName:"Ganesha(ガネェーシャ)",
shopTel:"078-393-3099",
reserve:"(完全予約制)",
time:"10:00~21:00/日祝10:00~18:00",
closed:"水曜",
mapDisable:"0"
}];
function createMarker(map, i) {
//マーカーを作成
station = stationList[i];
latlng = new google.maps.LatLng(station.latlng[0], station.latlng[1]);
title = station.name;
genreName = station.genreName;
manage = station.manage;
if(station.url){
imgurl = '';
url = ''+station.shopName+'';
}else{
imgurl = station.shopName;
url = station.shopName;
}
if(manage <= 5){
contentStr = '
'+url+'
'; contentStr += ''+genreName+'
'; contentStr += ''+url+'
'; contentStr += ''+genreName+'
'; contentStr += ''+station.time+'
'; contentStr += ''+station.closed+'
'; contentStr += ''+url+'
'; contentStr += ''+genreName+'
'; contentStr += ''+station.time+'
'; contentStr += ''+station.closed+'
'; contentStr += '