var currentInfoWindow = null; //最後に開いた情報ウィンドウを記憶 var contentStr = null; var stationList = [ {"latlng":[34.663455074867365, 135.515210590079140], name:"上位1%のセラピスト J1(ジェイワン)", shopImg:"https://www.refle.info/salonImg/Nzk2M0AxMEA2NWVmZTg4ZWFhNTIwQDkwQDQyMA%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/esthe-j1/", shopName:"上位1%のセラピスト J1(ジェイワン)", shopTel:"080-4777-8078", reserve:"(完全予約制)", time:"10:00~23:00(受付時間9:30~21:30)", closed:"不定休", mapDisable:"0" }, {"latlng":[34.664930873400550, 135.516137619014330], name:"癒しなでしこ", shopImg:"https://www.refle.info/salonImg/NTg3N0AwQDJjZDM5YmQ1ODljODliMTE3N2Y0M2JjOWU0NDY2YTM2QDkwQDQyMA%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/iyashinadeshiko/", shopName:"癒しなでしこ", shopTel:"070-4198-2483", reserve:"(予約優先)", time:"10:00~翌5:00(最終受付翌3:30)", closed:"不定休", mapDisable:"0" }, {"latlng":[34.665488100000000, 135.520825400000040], name:"ティヨール 近鉄上本町店", 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/tilleul-kintetsu-uehonmachi/", shopName:"ティヨール 近鉄上本町店", shopTel:"06-6779-4465", reserve:"", time:"10:00~20:00(最終受付19:30)", closed:"年中無休", mapDisable:"0" }, {"latlng":[34.660520169523820, 135.523660872999020], name:"TAISYOUYU(タイショウユ)", shopImg:"https://www.refle.info/salonImg/QEBAOTBANDIw.jpeg", open:"2", icon:"/images/googlemap/close/shop_s_close.png", scaledSize : new google.maps.Size(10, 10), manage:"5", genreName:"銭湯(公衆浴場)", url:"/shop/taisyouyu-tennouzi/", shopName:"TAISYOUYU(タイショウユ)", shopTel:"06-6772-3207", reserve:"", time:"14:30~22: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 += '