var currentInfoWindow = null; //最後に開いた情報ウィンドウを記憶 var contentStr = null; var stationList = [ {"latlng":[34.788384337471630, 135.458829553373000], name:"le meilleur(ル・メイユール)", shopImg:"https://www.refle.info/salonImg/NzQ3NUAxMEA2MmE5NjY3ZDA5OTkwQDkwQDQyMA%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/lemeilleurspa/", shopName:"le meilleur(ル・メイユール)", shopTel:"080-3494-8471", reserve:"(完全予約制)", time:"10:00~翌2:00(最終受付)", closed:"不定休", mapDisable:"0" }, {"latlng":[34.809821100000000, 135.494039299999940], name:"モンサンミッシェル 千里大丸店", shopImg:"https://www.refle.info/salonImg/QEBAOTBANDIw.jpeg", open:"2", icon:"/images/googlemap/close/icon_massage_close.png", scaledSize : new google.maps.Size(20, 23), manage:"5", genreName:"店舗マッサージ", url:"/shop/montsaintmichela-senri/", shopName:"モンサンミッシェル 千里大丸店", shopTel:"06-6871-2670", reserve:"(要予約)", time:"10:30~20:00/金土10:30~21:00", closed:"不定(千里大丸に準ずる)", mapDisable:"0" }, {"latlng":[34.778099600000000, 135.469974900000000], name:"ユニバーサルヒーリング 豊中店", shopImg:"https://www.refle.info/salonImg/QEBAOTBANDIw.jpeg", open:"2", icon:"/images/googlemap/close/icon_massage_close.png", scaledSize : new google.maps.Size(20, 23), manage:"5", genreName:"店舗マッサージ", url:"/shop/universalhealing/", shopName:"ユニバーサルヒーリング 豊中店", shopTel:"06-6850-4187", reserve:"", time:"11:00~20:00(最終受付19: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 += '