var currentInfoWindow = null; //最後に開いた情報ウィンドウを記憶
var contentStr = null;
var stationList = [
{"latlng":[34.729618795627500,
135.430897248444750],
name:"ゆりかご 神戸尼崎店",
shopImg:"https://www.refle.info/salonImg/NjM4MkAxMEA1ZWYyYjlhNjEyYmJmQDkwQDQyMA%3D%3D.jpeg",
open:"2",
icon:"/images/googlemap/close/icon_massage_close.png",
scaledSize : new google.maps.Size(30, 34.5),
manage:"30",
genreName:"メンズエステ",
url:"/shop/yurikago-kobe/",
shopName:"ゆりかご 神戸尼崎店",
shopTel:"070-1482-6413",
reserve:"(予約優先)",
time:"10:00~翌5:00/日10:00~翌2:00",
closed:"不定休",
mapDisable:"0"
},
{"latlng":[34.744286000000000,
135.422442999999930],
name:"りらくる 東塚口店",
shopImg:"https://www.refle.info/salonImg/QEBAOTBANDIw.jpeg",
open:"2",
icon:"/images/googlemap/close/icon_reflexology_close.png",
scaledSize : new google.maps.Size(20, 23),
manage:"5",
genreName:"リフレクソロジー",
url:"/shop/riraku-higasitukaguti/",
shopName:"りらくる 東塚口店",
shopTel:"050-8884-4452",
reserve:"",
time:"9:00~翌2:30(最終受付翌1:30)",
closed:"不定休",
mapDisable:"0"
},
{"latlng":[34.730568100000006,
135.440514465606730],
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/gokurakuyu-amagasakkiten/",
shopName:"極楽湯 尼崎店",
shopTel:"06-6497-4126",
reserve:"",
time:"6:00~翌1:00(最終受付0: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 += '