var currentInfoWindow = null; //最後に開いた情報ウィンドウを記憶
var contentStr = null;
var stationList = [
{"latlng":[34.682502300000000,
135.635225799999940],
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/tsurukame-oe/",
shopName:"風の湯 新石切店",
shopTel:"072-984-4126",
reserve:"",
time:"10:00~翌1:00(最終受付24:00)",
closed:"年中無休",
mapDisable:"0"
},
{"latlng":[34.614926700000000,
135.623703100000060],
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/oyuba-yao/",
shopName:"八尾おゆば",
shopTel:"072-990-0020",
reserve:"",
time:"10:00~翌1:00(最終受付24:00)",
closed:"メンテナンス休業有",
mapDisable:"0"
},
{"latlng":[34.677185200000000,
135.566301699999940],
name:"スーパー銭湯ユーパス Royal高井田店",
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/yu-bath-t-bath/",
shopName:"スーパー銭湯ユーパス Royal高井田店",
shopTel:"06-6785-4126",
reserve:"",
time:"6:00~翌3:00(毎月第4月曜日は定期点検の為、昼12時からの営業)",
closed:"年中無休",
mapDisable:"0"
},
{"latlng":[34.679441100000000,
135.584477800000060],
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/gokurakuyu-higashiosaka/",
shopName:"極楽湯 東大阪店",
shopTel:"06-4309-1126",
reserve:"",
time:"6:00~翌2:00(最終受付1: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 += '