var currentInfoWindow = null; //最後に開いた情報ウィンドウを記憶 var contentStr = null; var stationList = [ {"latlng":[34.957132800000000, 135.751266799999940], name:"力の湯", shopImg:"https://www.refle.info/salonImg/NjUwQDEwQDVmMDZkNDdmNDZjOTFAOTBANDIw.jpeg", open:"1", icon:"/images/googlemap/open/icon_bathhouse.png", scaledSize : new google.maps.Size(30, 34.5), manage:"25", genreName:"スーパー銭湯", url:"/shop/chikara-u/", shopName:"力の湯", shopTel:"075-645-4126", reserve:"", time:"10:00~22:00/金土10:00~23:00(月~木最終受付21時00分/金・土最終受付22時00分)", closed:"不定休(年2回メンテナンスの為休業します。)", mapDisable:"0" }, {"latlng":[34.957375894640150, 135.764436787731480], name:"SEPT NAIL(セプトネイル)伏見店", 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/septnail-fushimi/", shopName:"SEPT NAIL(セプトネイル)伏見店", shopTel:"075-641-8839", reserve:"", time:"10:00~20: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 += '