var markak = new Array (); function gmapa_kargatu (){ var latlng = new google.maps.LatLng (42.91344070434570000000, -1.05412435531616200000); var aukerak = { zoom: 15, center: latlng, mapTypeId: google.maps.MapTypeId.ROADMAP, mapTypeControlOptions: { style: google.maps.MapTypeControlStyle.DROPDOWN_MENU }, navigationControlOptions: { style: google.maps.NavigationControlStyle.SMALL }, scrollwheel: false }; var mapa = new google.maps.Map (document.getElementById ("gmapa"), aukerak); var info = new google.maps.InfoWindow (); markak['a342'] = new google.maps.Marker ({position: new google.maps.LatLng (42.91321945190430000000, -1.05466604232788090000), draggable: false, map: mapa, title: 'Besaro Hotela'}); google.maps.event.addListener (markak['a342'], 'click', function (){ info.setContent ('
Hotelak
Besaro Hotela
'); info.open (mapa, markak['a342']); }); var latlng = new google.maps.LatLng (42.91344070434570000000, -1.05412435531616200000); var aukerak = { zoom: 8, center: latlng, mapTypeId: google.maps.MapTypeId.ROADMAP, mapTypeControlOptions: { style: google.maps.MapTypeControlStyle.DROPDOWN_MENU }, navigationControlOptions: { style: google.maps.NavigationControlStyle.SMALL }, scrollwheel: false }; var mapa_eskubia = new google.maps.Map (document.getElementById ("gmapa_eskubia"), aukerak); var marka = new google.maps.Marker ({position: latlng, draggable: false, map: mapa_eskubia, title: 'Itzaltzu'}); } function infoa_ireki (i){ document.location.href = '#gmapantxor'; google.maps.event.trigger (markak[i], 'click'); return (false); } $(document).ready (function (){ gmapa_kargatu (); });