var currentInfoWindow = null; //最後に開いた情報ウィンドウを記憶 var contentStr = null; var stationList = [ {"latlng":[34.695082934909800, 135.194525339881100], name:"Bodysh(ボディッシュ)三宮店", 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/bodysh-sannomiya/", shopName:"Bodysh(ボディッシュ)三宮店", shopTel:"078-242-1840", reserve:"(要予約)", time:"11:00~22:40(最終受付21:30)", closed:"不定休", mapDisable:"0" }, {"latlng":[34.691288400000000, 135.192953700000000], name:"Refresh hands 神戸三宮店", shopImg:"https://www.refle.info/salonImg/QEBAOTBANDIw.jpeg", open:"2", icon:"/images/googlemap/close/icon_reflexology_close.png", scaledSize : new google.maps.Size(20, 23), manage:"5", genreName:"リフレクソロジー", url:"/shop/refreshhands-sannomiya/", shopName:"Refresh hands 神戸三宮店", shopTel:"078-393-3118", reserve:"", time:"10:00~20:30(最終受付20:00)", closed:"不定休", mapDisable:"0" }, {"latlng":[34.691713300000000, 135.192355899999940], name:"Relax 三宮センタープラザ店", shopImg:"https://www.refle.info/salonImg/QEBAOTBANDIw.jpeg", open:"2", icon:"/images/googlemap/close/icon_reflexology_close.png", scaledSize : new google.maps.Size(20, 23), manage:"5", genreName:"リフレクソロジー", url:"/shop/relax-sannomiyacenter/", shopName:"Relax 三宮センタープラザ店", shopTel:"078-393-4445", reserve:"", time:"12:00~21:00", closed:"年中無休", mapDisable:"0" }, {"latlng":[34.691921700000000, 135.195702799999940], name:"Relax 三宮・花時計前駅店", shopImg:"https://www.refle.info/salonImg/QEBAOTBANDIw.jpeg", open:"2", icon:"/images/googlemap/close/icon_reflexology_close.png", scaledSize : new google.maps.Size(20, 23), manage:"5", genreName:"リフレクソロジー", url:"/shop/relax-hanadokei/", shopName:"Relax 三宮・花時計前駅店", shopTel:"078-251-1158", reserve:"", time:"12:00~21:00", closed:"年中無休", mapDisable:"0" }, {"latlng":[34.695096300000000, 135.194075099999960], name:"りらくる 三宮店", shopImg:"https://www.refle.info/salonImg/QEBAOTBANDIw.jpeg", open:"2", icon:"/images/googlemap/close/icon_reflexology_close.png", scaledSize : new google.maps.Size(20, 23), manage:"5", genreName:"リフレクソロジー", url:"/shop/riraku-sannomiya/", shopName:"りらくる 三宮店", shopTel:"050-8884-4463", reserve:"", time:"9:00~24:00(最終受付23:00)", closed:"年中無休", mapDisable:"0" }, {"latlng":[34.691691100000010, 135.192250400000030], name:"てもみん 三宮センタープラザ店", shopImg:"https://www.refle.info/salonImg/QEBAOTBANDIw.jpeg", open:"2", icon:"/images/googlemap/close/icon_reflexology_close.png", scaledSize : new google.maps.Size(20, 23), manage:"5", genreName:"リフレクソロジー", url:"/shop/temomin-sannomiyacenterplaza/", shopName:"てもみん 三宮センタープラザ店", shopTel:"078-333-4161", reserve:"", time:"11:00~20:00", closed:"火曜、年末年始", mapDisable:"0" }, {"latlng":[34.6915911, 135.1921504], name:"和み庵 三宮センタープラザ店", 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/nagomi-an-kobe/", shopName:"和み庵 三宮センタープラザ店", shopTel:"078-321-7775", reserve:"(要予約)", time:"10:00~20:30/金土10:00~21:00(最終受付 日曜~木曜、祝日21:00、土日祝20: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 += '