var currentInfoWindow = null; //最後に開いた情報ウィンドウを記憶 var contentStr = null; var stationList = [ {"latlng":[34.674079276349800, 135.497950770424750], name:"SARISARI(サリサリ)", shopImg:"https://www.refle.info/salonImg/MTY5MEAxMEA2MDM1YTUzODYxZDQ0QDkwQDQyMA%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/sarisari-shinsaibashi/", shopName:"SARISARI(サリサリ)", shopTel:"090-6557-1888", reserve:"(完全予約制)", time:"10:00~24:00(最終受付翌24:00)", closed:"不定休", mapDisable:"0" }, {"latlng":[34.671220700000000, 135.502490699999950], name:"PANTHEON(パンテオン) 心斎橋店", 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-shinsaibashi/", shopName:"PANTHEON(パンテオン) 心斎橋店", shopTel:"06-4708-1088", reserve:"", time:"14:00~翌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 += '