var currentInfoWindow = null; //最後に開いた情報ウィンドウを記憶 var contentStr = null; var stationList = [ {"latlng":[35.050490800000000, 135.983741399999990], 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/riracle-moriyama/", shopName:"りらくる 守山えんま堂店", shopTel:"050-8887-1016", reserve:"", time:"9:00~24:00(最終受付23:00)", closed:"不定休", mapDisable:"0" }, {"latlng":[35.244048100000000, 136.258027099999940], 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/riraku-rokuhuku-hikone/", shopName:"りらくる 彦根店", shopTel:"050-8887-1020", reserve:"", time:"9:00~24:00(最終受付23:00)", closed:"年中無休", mapDisable:"0" }, {"latlng":[35.116654000000000, 135.914148699999940], 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/riraku-katada/", shopName:"りらくる 堅田店", shopTel:"050-8887-1019", reserve:"", time:"9:00~24:00(最終受付23:00)", closed:"年中無休", mapDisable:"0" }, {"latlng":[35.025540600000000, 135.958566300000030], name:"Natural Garden アル・プラザ草津店", 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/natural-garden-kusatsu/", shopName:"Natural Garden アル・プラザ草津店", shopTel:"077-574-8217", reserve:"", time:"10:00~19:00(最終受付18:00)", closed:"アル・プラザ草津店に準じる", mapDisable:"0" }, {"latlng":[35.004542000000000, 135.879173400000000], name:"ティヨール Oh!Me大津テラス店", 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-otsu/", shopName:"ティヨール Oh!Me大津テラス店", shopTel:"077-525-3390", reserve:"", time:"10:00~20:00", closed:"施設に準ずる", mapDisable:"0" }, {"latlng":[35.020291600000000, 135.971690200000000], 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/riraku-rittou/", shopName:"りらくる 栗東店", shopTel:"050-8887-1018", reserve:"", time:"9:00~翌0:30(最終受付23:00)", closed:"年中無休", mapDisable:"0" }, {"latlng":[34.982620400000000, 136.146832099999980], 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/riraku-koukamiyoguti/", shopName:"りらくる 甲賀水口店", shopTel:"050-8887-1017", reserve:"", time:"10:00~24:00(最終受付翌1: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 += '