var currentInfoWindow = null; //最後に開いた情報ウィンドウを記憶
var contentStr = null;
var stationList = [
{"latlng":[34.650381541620610,
135.512544243228060],
name:"E・Over(イーオーバー)",
shopImg:"https://www.refle.info/salonImg/ODAzNEAxMEA2NjIxZjBiODVhOTU0QDkwQDQyMA%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/e-over/",
shopName:"E・Over(イーオーバー)",
shopTel:"070-1860-9042",
reserve:"(予約優先)",
time:"11:00~翌6:00(営業時間10:00~翌4:30)",
closed:"不定休",
mapDisable:"0"
},
{"latlng":[34.650390226053950,
135.512549803389130],
name:"うさぎのお部屋",
shopImg:"https://www.refle.info/salonImg/Njg3NEAxMEA2MDZlYTMyMmIxNDI3QDkwQDQyMA%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/bunny-room/",
shopName:"うさぎのお部屋",
shopTel:"070-2367-0477",
reserve:"(完全予約制)",
time:"11:00~翌5:00(最終受付翌3:30)",
closed:"不定休",
mapDisable:"0"
},
{"latlng":[34.650378783516010,
135.512584811639400],
name:"ましゅマロスパ",
shopImg:"https://www.refle.info/salonImg/NzYwNkAxMEA2MzZhMDEwMGQ5N2E0QDkwQDQyMA%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/mashu-maro-spa/",
shopName:"ましゅマロスパ",
shopTel:"070-4558-0505",
reserve:"",
time:"11:00~翌5: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 += '