var currentInfoWindow = null; //最後に開いた情報ウィンドウを記憶
var contentStr = null;
var stationList = [
{"latlng":[34.759436357080250,
135.472900100000060],
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/gokurakuonsen/",
shopName:"極楽温泉",
shopTel:"06-6866-1126",
reserve:"",
time:"13:30~翌2:00/日祝7:00~翌2:00",
closed:"第3火曜日",
mapDisable:"0"
},
{"latlng":[34.786885400000000,
135.464172400000050],
name:"豊中温泉(とよなかおんせん)",
shopImg:"https://www.refle.info/salonImg/QEBAOTBANDIw.jpeg",
open:"1",
icon:"/images/googlemap/open/shop_s_open.png",
scaledSize : new google.maps.Size(10, 10),
manage:"5",
genreName:"銭湯(公衆浴場)",
url:"/shop/toyonaka-onsen/",
shopName:"豊中温泉(とよなかおんせん)",
shopTel:"06-6852-1258",
reserve:"",
time:"15:00~翌0:30",
closed:"木曜",
mapDisable:"0"
},
{"latlng":[34.763832300000000,
135.505044300000000],
name:"福助温泉(ふくすけおんせん)",
shopImg:"https://www.refle.info/salonImg/QEBAOTBANDIw.jpeg",
open:"1",
icon:"/images/googlemap/open/shop_s_open.png",
scaledSize : new google.maps.Size(10, 10),
manage:"5",
genreName:"銭湯(公衆浴場)",
url:"/shop/hukusuke/",
shopName:"福助温泉(ふくすけおんせん)",
shopTel:"06-6384-9030",
reserve:"",
time:"15:30~23:00",
closed:"金曜",
mapDisable:"0"
},
{"latlng":[34.809198300000000,
135.444542800000020],
name:"平和温泉",
shopImg:"https://www.refle.info/salonImg/QEBAOTBANDIw.jpeg",
open:"1",
icon:"/images/googlemap/open/shop_s_open.png",
scaledSize : new google.maps.Size(10, 10),
manage:"5",
genreName:"銭湯(公衆浴場)",
url:"/shop/heiwaonsen/",
shopName:"平和温泉",
shopTel:"0727-61-8196",
reserve:"",
time:"14:15~翌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 += '