var currentInfoWindow = null; //最後に開いた情報ウィンドウを記憶
var contentStr = null;
var stationList = [
{"latlng":[34.437692000000000,
135.339579800000020],
name:"虹の湯 二色の浜店",
shopImg:"https://www.refle.info/salonImg/QEBAOTBANDIw.jpeg",
open:"1",
icon:"/images/googlemap/open/icon_bathhouse.png",
scaledSize : new google.maps.Size(20, 23),
manage:"5",
genreName:"スーパー銭湯",
url:"/shop/nijinoyu-nishikinohama/",
shopName:"虹の湯 二色の浜店",
shopTel:"072-439-2227",
reserve:"",
time:"10:00~翌1:00/土日8:00~翌1:00(最終入場24:15)",
closed:"年中無休(年1回メンテナンスの為2~3日の休館日あり)",
mapDisable:"0"
},
{"latlng":[34.427102100000000,
135.373068699999980],
name:"清児の湯(せちごのゆ)",
shopImg:"https://www.refle.info/salonImg/QEBAOTBANDIw.jpeg",
open:"2",
icon:"/images/googlemap/close/icon_bathhouse_close.png",
scaledSize : new google.maps.Size(20, 23),
manage:"5",
genreName:"スーパー銭湯",
url:"/shop/setiyu/",
shopName:"清児の湯(せちごのゆ)",
shopTel:"072-447-2626",
reserve:"",
time:"12:00~翌9:00(最終受付:8:15/土・祝前日はオールナイト営業)",
closed:"毎月第3水曜日定休(祝祭日の場合は翌日木曜日)",
mapDisable:"0"
},
{"latlng":[34.429534900000000,
135.364044499999980],
name:"美笹のゆ",
shopImg:"https://www.refle.info/salonImg/QEBAOTBANDIw.jpeg",
open:"2",
icon:"/images/googlemap/close/icon_bathhouse_close.png",
scaledSize : new google.maps.Size(20, 23),
manage:"5",
genreName:"スーパー銭湯",
url:"/shop/misasanoyu/",
shopName:"美笹のゆ",
shopTel:"072-432-4126",
reserve:"",
time:"8:30~翌2:00(最終受付翌1: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 += '