var currentInfoWindow = null; //最後に開いた情報ウィンドウを記憶
var contentStr = null;
var stationList = [
{"latlng":[34.656199900000000,
135.493635300000050],
name:"だいこく温泉",
shopImg:"https://www.refle.info/salonImg/QEBAOTBANDIw.jpeg",
open:"1",
icon:"/images/googlemap/open/shop_s_open.png",
scaledSize : new google.maps.Size(10, 10),
manage:"5",
genreName:"銭湯(公衆浴場)",
url:"/shop/daikokuonsen/",
shopName:"だいこく温泉",
shopTel:"06-6636-3600",
reserve:"",
time:"10:00~翌2:00",
closed:"年末年始・お盆",
mapDisable:"0"
},
{"latlng":[34.664013300000000,
135.488956000000030],
name:"ヘルシー温泉タテバ",
shopImg:"https://www.refle.info/salonImg/QEBAOTBANDIw.jpeg",
open:"1",
icon:"/images/googlemap/open/shop_s_open.png",
scaledSize : new google.maps.Size(10, 10),
manage:"5",
genreName:"銭湯(公衆浴場)",
url:"/shop/tateba/",
shopName:"ヘルシー温泉タテバ",
shopTel:"0120-514-026",
reserve:"",
time:"14:00~翌5:00",
closed:"年中無休",
mapDisable:"0"
},
{"latlng":[34.666668500000000,
135.503526900000000],
name:"AMZA(アムザ)",
shopImg:"https://www.refle.info/salonImg/QEBAOTBANDIw.jpeg",
open:"2",
icon:"/images/googlemap/close/shop_s_close.png",
scaledSize : new google.maps.Size(10, 10),
manage:"5",
genreName:"銭湯(公衆浴場)",
url:"/shop/amza/",
shopName:"AMZA(アムザ)",
shopTel:"06-6633-1000",
reserve:"",
time:"12:00~翌10: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 += '