var currentInfoWindow = null; //最後に開いた情報ウィンドウを記憶 var contentStr = null; var stationList = [ {"latlng":[34.690594000000000, 135.192289299999970], name:"JOJO", 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/jojo-nail/", shopName:"JOJO", shopTel:"078-862-5382", reserve:"", time:"12:00~21:00/土日祝11:00~20:00", closed:"月曜", mapDisable:"0" }, {"latlng":[34.690985700000000, 135.193311399999970], name:"Tranquille(トランキル)", 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/nail-tranquille/", shopName:"Tranquille(トランキル)", shopTel:"078-392-1345", reserve:"", time:"10:00~20:00(最終受付:19:00)", closed:"年中無休(年始のぞく)", mapDisable:"0" }, {"latlng":[34.695221300000000, 135.194452800000020], name:"MARCH三宮店(マーチ)", 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/march-sannomiya/", shopName:"MARCH三宮店(マーチ)", shopTel:"078-855-2533", reserve:"", time:"10:00~21:00/土日10:00~18: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 += '