var currentInfoWindow = null; //最後に開いた情報ウィンドウを記憶 var contentStr = null; var stationList = [ {"latlng":[34.676939500000000, 135.498229800000000], name:"メンズリゼクリニック 心斎橋院", shopImg:"https://www.refle.info/salonImg/NDA0NUAwQDJhOWNkMjFiNWUxMTk5ZWY2M2JhNGNiMDljYmYwNjNkQDkwQDQyMA%3D%3D.jpeg", open:"2", icon:"/images/googlemap/close/icon_mbeauty.png", scaledSize : new google.maps.Size(30, 34.5), manage:"25", genreName:"メンズ脱毛", url:"/shop/rsclinic-shinsaibashi/", shopName:"メンズリゼクリニック 心斎橋院", shopTel:"0120-652-216", reserve:"(完全予約制)", time:"10:00~20:00(21:00までの診療日がございます。 詳しくはお問合せください。)", closed:"不定休", mapDisable:"0" }, {"latlng":[34.670551979187090, 135.500289206186270], name:"ゴリラクリニック 大阪心斎橋院", shopImg:"https://www.refle.info/salonImg/NTU2OUAxMEA1ZWVhZGJiOTk4OTdlQDkwQDQyMA%3D%3D.jpeg", open:"2", icon:"/images/googlemap/close/icon_mbeauty.png", scaledSize : new google.maps.Size(30, 34.5), manage:"25", genreName:"メンズ脱毛", url:"/shop/gorilla-clinic-shinsaibashi/", shopName:"ゴリラクリニック 大阪心斎橋院", shopTel:"0120-987-118", reserve:"(要予約)", time:"11:00~20: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 += '