var currentInfoWindow = null; //最後に開いた情報ウィンドウを記憶 var contentStr = null; var stationList = [ {"latlng":[34.672017081048310, 135.490983770515920], name:"山崎(やまざき)", shopImg:"https://www.refle.info/salonImg/NzQzOUA1QDYyOTZiZjZmYjQ0NGFAOTBANDIw.jpeg", open:"1", icon:"/images/googlemap/open/icon_massage.png", scaledSize : new google.maps.Size(30, 34.5), manage:"30", genreName:"メンズエステ", url:"/shop/yamazaki-men-est/", shopName:"山崎(やまざき)", shopTel:"050-3150-8558", reserve:"(完全予約制)", time:"10:00~24:00", closed:"不定休", mapDisable:"0" }, {"latlng":[34.671251300000000, 135.496149599999970], name:"PENT HOUSE(ペントハウス) 堀江店", 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/olivespa-penthouse-horie/", shopName:"PENT HOUSE(ペントハウス) 堀江店", shopTel:"06-6533-2121", reserve:"", time:"12:30~翌5: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 += '