var currentInfoWindow = null; //最後に開いた情報ウィンドウを記憶 var contentStr = null; var stationList = [ {"latlng":[34.668536365653715, 135.489858299900800], name:"Mrs.PULPUNTE(ミセス パルプンテ)", shopImg:"https://www.refle.info/salonImg/NjA0N0AwQDgzZDg1NDBkNDQ4ZTkzMDlmYjNjOGQwNTYwMWMzYzE4QDkwQDQyMA%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/mrs-pulpunte/", shopName:"Mrs.PULPUNTE(ミセス パルプンテ)", shopTel:"080-9808-6357", reserve:"(完全予約制)", time:"10:00~翌5:00(24時間受付)", closed:"年中無休", mapDisable:"0" }, {"latlng":[34.667446723125934, 135.491102240510140], name:"ミセス美オーラ", shopImg:"https://www.refle.info/salonImg/NTM2NkAxMEA2NTliNmNjYTI3MmU4QDkwQDQyMA%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/mrs-viaura-salon/", shopName:"ミセス美オーラ", shopTel:"06-4256-2331", reserve:"(完全予約制)", time:"9:00~翌5:00(最終受付)", closed:"年中無休", mapDisable:"0" }, {"latlng":[34.668276400000000, 135.482625900000020], 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/merci-nail/", shopName:"メルシー", shopTel:"06-4977-1635", reserve:"", time:"18:00~翌6:00/日15:00~翌6:00(最終受付翌3:00)", closed:"年中無休", mapDisable:"0" }, {"latlng":[34.664013300000000, 135.488956000000030], 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/tateba/", shopName:"ヘルシー温泉タテバ", shopTel:"0120-514-026", reserve:"", time:"14:00~翌5:00", closed:"年中無休", mapDisable:"0" }, {"latlng":[34.667437800000000, 135.487628299999980], 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/sakura-onsen/", shopName:"ヘルシー温泉 桜川店", shopTel:"06-6561-9961", reserve:"", time:"6:00~24: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 += '