var currentInfoWindow = null; //最後に開いた情報ウィンドウを記憶
var contentStr = null;
var stationList = [
{"latlng":[34.673409700000000,
134.977043999999980],
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/refresh-kyara/",
shopName:"伽羅(きゃら)",
shopTel:"078-926-3206",
reserve:"",
time:"10:00~22:30(受付時間10:00~20:00)",
closed:"不定休",
mapDisable:"0"
},
{"latlng":[34.695774900000000,
135.063730399999940],
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/nadeshikonoyu/",
shopName:"なでしこの湯",
shopTel:"078-977-0261",
reserve:"",
time:"10:00~22:00(最終受付21:30)",
closed:"不定休",
mapDisable:"0"
},
{"latlng":[34.718793900000000,
135.017612000000000],
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/bodyhart-ekisoare-seishinchuo/",
shopName:"ボディハート エキソアレ西神中央店",
shopTel:"078-945-6654",
reserve:"",
time:"10:00~19: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 += '