var currentInfoWindow = null; //最後に開いた情報ウィンドウを記憶 var contentStr = null; var stationList = [ {"latlng":[34.487453978403780, 135.419908440475400], name:"Hestia(エスティア)", shopImg:"https://www.refle.info/salonImg/MjUwNUAwQDQ2ODA4ZDkyYWY4OGY1MDc1NTM0NGMwZWNiMzE3NzNhQDkwQDQyMA%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/relaxation-hestia/", shopName:"Hestia(エスティア)", shopTel:"090-2018-0606", reserve:"(予約優先)", time:"10:00~翌3:00(最終受付翌1:30)", closed:"年中無休", mapDisable:"1" }, {"latlng":[34.488901409392014, 135.426948270527360], name:"Rich Izumi(リッチ イズミ)", shopImg:"https://www.refle.info/salonImg/NzgwOUAxMEA2NGM3MGJiYmU5M2EzQDkwQDQyMA%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/rich-izumi/", shopName:"Rich Izumi(リッチ イズミ)", shopTel:"072-248-8463", reserve:"(要予約)", time:"月10:00~翌3:00/10:00~翌5:00(受付時間9:00~翌2:00)", closed:"不定休", mapDisable:"0" }, {"latlng":[34.474539500000000, 135.475261100000000], name:"Relax 光明池店", shopImg:"https://www.refle.info/salonImg/QEBAOTBANDIw.jpeg", open:"1", icon:"/images/googlemap/open/icon_reflexology.png", scaledSize : new google.maps.Size(20, 23), manage:"5", genreName:"リフレクソロジー", url:"/shop/relax-koumyouike/", shopName:"Relax 光明池店", shopTel:"072-360-4411", reserve:"", time:"12:00~21:00", closed:"年中無休", mapDisable:"0" }, {"latlng":[34.476844799999990, 135.486507299999970], name:"S・P・A refre(スパ・リフレ)", 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/spa-refre/", shopName:"S・P・A refre(スパ・リフレ)", shopTel:"072-284-2626", reserve:"", time:"10:00~翌1:00(最終受付24: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 += '