//台東区池之端1-2-27
TEL:03-3832-3557';
var point = new google.maps.LatLng( 35.709036, 139.769154 );
marker[0] = new google.maps.Marker({position: point, title:"エレガンス"});
marker[0].setMap(map);
google.maps.event.addListener(marker[0], "click", function() {
clickMarker( 35.709036, 139.769154 , 0);
});
html[1] = 'エレガントアネックス
台東区上野 6-8-5
TEL:03-6284-4631';
var point = new google.maps.LatLng(35.709258, 139.775599);
marker[1] = new google.maps.Marker({position: point, title:"エレガントアネックス"});
marker[1].setMap(map);
google.maps.event.addListener(marker[1], "click", function() {
clickMarker(35.709258, 139.775599, 1);
});
html[2] = 'ダイヤモンド
台東区池之端1-1-5
TEL:03-3836-1351';
var point = new google.maps.LatLng( 35.709014 , 139.769325 );
marker[2] = new google.maps.Marker({position: point, title:"ダイヤモンド"});
marker[2].setMap(map);
google.maps.event.addListener(marker[2], "click", function() {
clickMarker( 35.709014 , 139.769325 , 2);
});
html[3] = 'ペガサス
文京区湯島3-43-2
TEL:03-3836-9595';
var point = new google.maps.LatLng( 35.708716, 139.771172);
marker[3] = new google.maps.Marker({position: point, title:"ペガサス"});
marker[3].setMap(map);
google.maps.event.addListener(marker[3], "click", function() {
clickMarker( 35.708716, 139.771172, 3);
});
html[4] = 'ラセゾン
文京区湯島3-46-4
TEL:03-3835-0481';
var point = new google.maps.LatLng( 35.708387, 139.770241);
marker[4] = new google.maps.Marker({position: point, title:"ラセゾン"});
marker[4].setMap(map);
google.maps.event.addListener(marker[4], "click", function() {
clickMarker( 35.708387, 139.770241, 4);
});
html[5] = '上野タウンホテル
台東区上野6-7-5
TEL:03-5812-0403';
var point = new google.maps.LatLng(35.709321, 139.775921);
marker[5] = new google.maps.Marker({position: point, title:"上野タウンホテル"});
marker[5].setMap(map);
google.maps.event.addListener(marker[5], "click", function() {
clickMarker(35.709321, 139.775921, 5);
});
html[6] = 'SWEETS
東京都台東区上野2-10-2
TEL:03-3831-8027';
var point = new google.maps.LatLng( 35.708935, 139.771828);
marker[6] = new google.maps.Marker({position: point, title:"SWEETS"});
marker[6].setMap(map);
google.maps.event.addListener(marker[6], "click", function() {
clickMarker( 35.708935, 139.771828, 6);
});
html[7] = 'ⅭHIC(シック)
台東区上野6-9-21
TEL:03-3836-2180';
var point = new google.maps.LatLng(35.709502 , 139.775367);
marker[7] = new google.maps.Marker({position: point, title:"ⅭHIC(シック)"});
marker[7].setMap(map);
google.maps.event.addListener(marker[7], "click", function() {
clickMarker(35.709502 , 139.775367, 7);
});
html[8] = 'ユナイテッド
台東区池之端1-1-4
TEL:03-3839-0608';
var point = new google.maps.LatLng(35.708903, 139.769336);
marker[8] = new google.maps.Marker({position: point, title:"ユナイテッド"});
marker[8].setMap(map);
google.maps.event.addListener(marker[8], "click", function() {
clickMarker(35.708903, 139.769336, 8);
});
html[9] = 'PRINCESS1世
文京区湯島3-47-8
TEL:03-3834-7780';
var point = new google.maps.LatLng( 35.708638, 139.769579);
marker[9] = new google.maps.Marker({position: point, title:"PRINCESS1世"});
marker[9].setMap(map);
google.maps.event.addListener(marker[9], "click", function() {
clickMarker( 35.708638, 139.769579, 9);
});
html[10] = 'ホテルエレガント 本館
東京都台東区上野6丁目8−18
TEL:0358343616';
var point = new google.maps.LatLng(35.70962682, 139.77581299);
marker[10] = new google.maps.Marker({position: point, title:"ホテルエレガント 本館"});
marker[10].setMap(map);
google.maps.event.addListener(marker[10], "click", function() {
clickMarker(35.70962682, 139.77581299, 10);
});
}
function loadScript() {
var script = document.createElement("script");
script.type = "text/javascript";
script.src = "https://maps.googleapis.com/maps/api/js?key=AIzaSyC6FmroPbUeWeiI0WVDFO9mpc9RZl2Ix1Y&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;
//]]>