var currentInfoWindow = null; function initialize() { var myLatlng = new google.maps.LatLng(34.765661,137.389361); var Opts = { zoom: 17, center: myLatlng, navigationControl:true, mapTypeId: google.maps.MapTypeId.ROADMAP, disableDoubleClickZoom: true, scrollwheel: true, draggable: true, scaleControl : true, keyboardShortcuts: true }; map = new google.maps.Map(document.getElementById("gmap"), Opts); //−−−−−−−−−−−spot0 −−−−−−−−−−−− var LatLng0 = new google.maps.LatLng(34.765661,137.389361); //★マーカ位置 var contentString0 = 'ヤマサちくわ 本店'+ '

〒440-0894
愛知県豊橋市魚町97
7:00〜20:00

Tel:0532-53-2211(代)


[詳細]

';  //★インフォウィンドウ記述 var infowindow0 = new google.maps.InfoWindow({ content: contentString0 }); var image0 = new google.maps.MarkerImage('../common/img/g_icon_1.png' //★マーカ種類 ); var marker0 = new google.maps.Marker({  //★マーカ追加 position: LatLng0, map: map, title: "", icon: image0, }); google.maps.event.addListener(marker0, 'click', function() {  //★クリックアクション if (currentInfoWindow) { currentInfoWindow.close(); } infowindow0.open(map, marker0); currentInfoWindow = infowindow0; }); //−−−−−−−−−−−spot −−−−−−−−−−−− //−−−−−−−−−−−ここまで−−−−−−−−−−−−− }