var currentInfoWindow = null; //最後に開いた情報ウィンドウを記憶 var contentStr = null; var stationList = [ {"latlng":[33.491437200000000, 130.514940700000000], 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/hakatayu/", shopName:"博多湯", shopTel:"092-922-2119", reserve:"", time:"9:00~21:00", closed:"年中無休", mapDisable:"0" }, {"latlng":[33.488656700000000, 130.496900500000040], 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/tenpainosato/", shopName:"筑紫野 天拝の郷 天拝の湯", shopTel:"092-918-5111", reserve:"", time:"10:30~24:00(最終受付23:00(家族風呂22:30))", closed:"年中無休", mapDisable:"0" }, {"latlng":[33.439728200000000, 130.535860500000000], name:"筑紫野温泉 Amandi(アマンディ)", 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/amandi/", shopName:"筑紫野温泉 Amandi(アマンディ)", shopTel:"092-926-2655", reserve:"", time:"10:00~24:00(最終受付23:00)", closed:"不定休", mapDisable:"0" }, {"latlng":[33.473055200000000, 130.414219199999930], 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/nakagawaseiryu/", shopName:"那珂川 清滝(せいりゅう)", shopTel:"092-952-8848", reserve:"", time:"10:00~24:00(最終受付23: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 += '