//神奈川県横浜市南区永楽町2-20-5
TEL:045-241-0201'; var point = new google.maps.LatLng(35.439056, 139.630437); marker[0] = new google.maps.Marker({position: point, title:"ファンファンファンキングダム"}); marker[0].setMap(map); google.maps.event.addListener(marker[0], "click", function() { clickMarker(35.439056, 139.630437, 0); }); html[1] = 'ティファナイン
神奈川県横浜市南区永楽町2-21-6
TEL:045-253-3393'; var point = new google.maps.LatLng(35.439008, 139.630332); marker[1] = new google.maps.Marker({position: point, title:"ティファナイン"}); marker[1].setMap(map); google.maps.event.addListener(marker[1], "click", function() { clickMarker(35.439008, 139.630332, 1); }); html[2] = 'ルッソクローチェ
神奈川県横浜市南区永楽町2-22-12
TEL:045-253-7116'; var point = new google.maps.LatLng(35.439283, 139.630226); marker[2] = new google.maps.Marker({position: point, title:"ルッソクローチェ"}); marker[2].setMap(map); google.maps.event.addListener(marker[2], "click", function() { clickMarker(35.439283, 139.630226, 2); }); html[3] = 'ハニーラビット
神奈川県横浜市南区永楽町2-21-1
TEL:045-243-1551'; var point = new google.maps.LatLng(35.438936, 139.629748); marker[3] = new google.maps.Marker({position: point, title:"ハニーラビット"}); marker[3].setMap(map); google.maps.event.addListener(marker[3], "click", function() { clickMarker(35.438936, 139.629748, 3); }); html[4] = 'ロイ
神奈川県横浜市南区永楽町2-20-6
TEL:045-315-3391'; var point = new google.maps.LatLng(35.438781, 139.630618); marker[4] = new google.maps.Marker({position: point, title:"ロイ"}); marker[4].setMap(map); google.maps.event.addListener(marker[4], "click", function() { clickMarker(35.438781, 139.630618, 4); }); html[5] = 'キャンティ
神奈川県横浜市南区永楽町2-26
TEL:045-261-5388'; var point = new google.maps.LatLng(35.439611, 139.63071); marker[5] = new google.maps.Marker({position: point, title:"キャンティ"}); marker[5].setMap(map); google.maps.event.addListener(marker[5], "click", function() { clickMarker(35.439611, 139.63071, 5); }); html[6] = '2001
神奈川県横浜市南区永楽町2-26-4
TEL:045-251-1521'; var point = new google.maps.LatLng(35.439611, 139.63071); marker[6] = new google.maps.Marker({position: point, title:"2001"}); marker[6].setMap(map); google.maps.event.addListener(marker[6], "click", function() { clickMarker(35.439611, 139.63071, 6); }); } function loadScript() { var script = document.createElement("script"); script.type = "text/javascript"; script.src = "https://maps.googleapis.com/maps/api/js?key=AIzaSyCGKAMasglpMH1NazjBj7x854RsJvV8k5M&sensor=false&callback=initialize"; document.body.appendChild(script); } function clickMarker(lat, lang, index){ if(infowindow) infowindow.close(); map.panTo(new google.maps.LatLng(lat, lang)); infowindow = new google.maps.InfoWindow({content: html[index]}); //吹き出しを表示する infowindow.open(map, marker[index]); } window.onload = loadScript; //]]>