var currentInfoWindow = null; //最後に開いた情報ウィンドウを記憶
var contentStr = null;
var stationList = [
{"latlng":[35.743330700000000,
139.647713299999960],
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/niwanoyu/",
shopName:"豊島園 庭の湯",
shopTel:"03-3990-4126",
reserve:"",
time:"10:00~23:00(最終受付22:00)",
closed:"年中無休(メンテナンス実地日(11月予定)は、臨時休業します。",
mapDisable:"0"
},
{"latlng":[35.762225473452010,
139.620145702429450],
name:"りらくる 練馬旭町店",
shopImg:"https://www.refle.info/salonImg/QEBAOTBANDIw.jpeg",
open:"1",
icon:"/images/googlemap/open/icon_reflexology.png",
scaledSize : new google.maps.Size(20, 23),
manage:"5",
genreName:"リフレクソロジー",
url:"/shop/riracle-nerima/",
shopName:"りらくる 練馬旭町店",
shopTel:"050-8883-9818",
reserve:"",
time:"10:00~24:00(最終受付23:00)",
closed:"不定休",
mapDisable:"0"
},
{"latlng":[35.741370100000000,
139.661595499999980],
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/hisamatsuyu/",
shopName:"天然温泉 久松湯",
shopTel:"03-3991-5092",
reserve:"",
time:"11:00~23: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 += '