var currentInfoWindow = null; function initialize() { var myLatlng = new google.maps.LatLng(34.662877,137.271804); 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.662877,137.271804); //★マーカ位置 var contentString0 = 'ヤマサちくわ 田原店'+ '

〒441-3416
愛知県田原市東赤石2-52-53

平日 9:00〜18:00
土・日・祝日 9:00~19:00

Tel:0531-24-4151

';  //★インフォウィンドウ記述 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 −−−−−−−−−−−− //−−−−−−−−−−−ここまで−−−−−−−−−−−−− }