var currentInfoWindow = null; //最後に開いた情報ウィンドウを記憶
var contentStr = null;
var stationList = [
{"latlng":[34.806258100000000,
135.343435000000000],
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/bankunmei-takaraduka/",
shopName:"バンクンメイ 宝塚店",
shopTel:"0797-83-6180",
reserve:"",
time:"11:00~21:00(予約受付10:00~20:00)",
closed:"年末年始",
mapDisable:"0"
},
{"latlng":[34.679747900000000,
135.181001599999950],
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/bankunmei-manyou/",
shopName:"バンクンメイ 万葉倶楽部神戸店",
shopTel:"078-366-5055",
reserve:"",
time:"11:00~翌5:00(予約受付AM10:00~AM3:00)",
closed:"年中無休",
mapDisable:"0"
},
{"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.689066900000000,
135.270202299999940],
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/bankunmei-baysheraton/",
shopName:"バンクンメイ 神戸ベイジェラトン店",
shopTel:"078-857-7102",
reserve:"",
time:"12:30~22:30(予約受付11:30~21:30)",
closed:"不定休",
mapDisable:"0"
},
{"latlng":[34.332514000000000,
134.913043400000000],
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/bankunmei-awaji/",
shopName:"バンクンメイ 淡路夢泉景店",
shopTel:"0799-25-2610",
reserve:"",
time:"13:00~24:00(予約受付13:00~23:00)",
closed:"年中無休",
mapDisable:"0"
},
{"latlng":[34.693352000000000,
135.190147700000000],
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/bankunmei-s/",
shopName:"バンクンメイ 三ノ宮店",
shopTel:"078-326-2766",
reserve:"",
time:"11:00~23:00(予約受付10:00~22:00)",
closed:"年末年始",
mapDisable:"0"
},
{"latlng":[34.810927000000000,
135.340060099999960],
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/baan-hana-takarazuka/",
shopName:"バーン・ハナ 阪急宝塚店",
shopTel:"0797-85-3055",
reserve:"",
time:"10:00~22:00(予約受付10:30~22:00)",
closed:"年中無休",
mapDisable:"0"
},
{"latlng":[34.740806700000000,
135.312166899999970],
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/bankunmei-ashiya/",
shopName:"バンクンメイ 芦屋本店",
shopTel:"0797-25-2088",
reserve:"",
time:"11:00~23:00(予約受付10:00~22: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 += '