var currentInfoWindow = null; //最後に開いた情報ウィンドウを記憶
var contentStr = null;
var stationList = [
{"latlng":[34.717693400000000,
135.398521599999980],
name:"天然温泉 蓬莱湯(ほうらいゆ)",
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/houraiyu/",
shopName:"天然温泉 蓬莱湯(ほうらいゆ)",
shopTel:"06-6411-0567",
reserve:"",
time:"15:00~23:30/日12:00~23:30(最終受付23:00)",
closed:"金曜、金曜日が祝日の場合は営業",
mapDisable:"0"
},
{"latlng":[34.686352700000000,
135.180154300000030],
name:"湯あそびひろば つかさ湯",
shopImg:"https://www.refle.info/salonImg/QEBAOTBANDIw.jpeg",
open:"1",
icon:"/images/googlemap/open/icon_bathhouse.png",
scaledSize : new google.maps.Size(20, 23),
manage:"5",
genreName:"スーパー銭湯",
url:"/shop/tsukasa-yu/",
shopName:"湯あそびひろば つかさ湯",
shopTel:"078-341-7085",
reserve:"",
time:"14:00~24:00/土日12:00~24:00(最終受付23:30)",
closed:"木曜",
mapDisable:"0"
},
{"latlng":[34.718320074058230,
135.282922684673170],
name:"幸福温泉(こうふくおんせん)",
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/kouhuku-onsen/",
shopName:"幸福温泉(こうふくおんせん)",
shopTel:"078-411-3927",
reserve:"",
time:"14:00~22:30",
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 += '