var currentInfoWindow = null; //最後に開いた情報ウィンドウを記憶 var contentStr = null; var stationList = [ {"latlng":[34.696529000000000, 135.495229500000050], name:"Lei Nail&Select Shop", 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/leinail/", shopName:"Lei Nail&Select Shop", shopTel:"06-6345-0166", reserve:"", time:"未定", closed:"不定休", mapDisable:"0" }, {"latlng":[34.698853800000000, 135.498048599999950], name:"LR Nail Salon 梅田店", 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/lr-nailsalon-umeda/", shopName:"LR Nail Salon 梅田店", shopTel:"06-6343-1703", reserve:"", time:"9:00~21:00(最終受付20:00)", closed:"年中無休", mapDisable:"0" }, {"latlng":[34.708630500000000, 135.501084300000000], name:"S.Twinkle(エス トゥインクル)", 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/stwinkle/", shopName:"S.Twinkle(エス トゥインクル)", shopTel:"06-6131-4767", reserve:"", time:"11:00~22:00(最終受付20:30)", closed:"不定休", mapDisable:"0" }, {"latlng":[34.697667600000000, 135.492049200000000], name:"from-E(フロムイー)", 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/from-e/", shopName:"from-E(フロムイー)", shopTel:"06-6450-8908", reserve:"", time:"12:00~21:00/土10:00~22:00/日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 += '