var currentInfoWindow = null; //最後に開いた情報ウィンドウを記憶 var contentStr = null; var stationList = [ {"latlng":[35.664187500000000, 139.548636100000070], name:"湯守の里", shopImg:"https://www.refle.info/salonImg/QEBAOTBANDIw.jpeg", open:"2", icon:"/images/googlemap/close/icon_bathhouse_close.png", scaledSize : new google.maps.Size(20, 23), manage:"5", genreName:"スーパー銭湯", url:"/shop/shiroyama-gr/", shopName:"湯守の里", shopTel:"042-499-7777", reserve:"", time:"10:00~22:00", closed:"年中無休 ※ただしメンテナンスで臨時休業あり", mapDisable:"0" }, {"latlng":[35.677418900000000, 139.546518900000020], name:"湯の森 深大湯", shopImg:"https://www.refle.info/salonImg/QEBAOTBANDIw.jpeg", open:"2", icon:"/images/googlemap/close/icon_bathhouse_close.png", scaledSize : new google.maps.Size(20, 23), manage:"5", genreName:"スーパー銭湯", url:"/shop/jindaiyu/", shopName:"湯の森 深大湯", shopTel:"042-482-4652", reserve:"", time:"15:00~23:00/日14:00~23:00", closed:"毎週木曜および第3水曜日(第3水曜日がお休みの場合連休いたします)", mapDisable:"0" }, {"latlng":[35.657494200000000, 139.587541099999950], 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/yukemurinosato/", shopName:"仙川 湯けむりの里", shopTel:"03-3309-4126", reserve:"", time:"10:00~翌2:00(最終受付翌1: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 += '