var currentInfoWindow = null; //最後に開いた情報ウィンドウを記憶
var contentStr = null;
var stationList = [
{"latlng":[34.663455074867365,
135.515210590079140],
name:"上位1%のセラピスト J1(ジェイワン)",
shopImg:"https://www.refle.info/salonImg/Nzk2M0AxMEA2NWVmZTg4ZWFhNTIwQDkwQDQyMA%3D%3D.jpeg",
open:"1",
icon:"/images/googlemap/open/icon_massage.png",
scaledSize : new google.maps.Size(30, 34.5),
manage:"30",
genreName:"メンズエステ",
url:"/shop/esthe-j1/",
shopName:"上位1%のセラピスト J1(ジェイワン)",
shopTel:"080-4777-8078",
reserve:"(完全予約制)",
time:"10:00~翌3:00(受付時間9:30~翌1:00)",
closed:"不定休",
mapDisable:"0"
},
{"latlng":[34.664930873400550,
135.516137619014330],
name:"癒しなでしこ",
shopImg:"https://www.refle.info/salonImg/NTg3N0AwQDJjZDM5YmQ1ODljODliMTE3N2Y0M2JjOWU0NDY2YTM2QDkwQDQyMA%3D%3D.jpeg",
open:"1",
icon:"/images/googlemap/open/icon_massage.png",
scaledSize : new google.maps.Size(30, 34.5),
manage:"30",
genreName:"メンズエステ",
url:"/shop/iyashinadeshiko/",
shopName:"癒しなでしこ",
shopTel:"070-4198-2483",
reserve:"(予約優先)",
time:"10:00~翌5:00(最終受付翌3: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 += '