Pongo aquí mi código:
Código HTML:
Ver original
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html> <head> <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script type="text/javascript"> function initialize() { var latlng = new google.maps.LatLng(40.416775, -3.703790); var settings = { zoom: 16, center: latlng, mapTypeControl: true, mapTypeControlOptions: {style: google.maps.MapTypeControlStyle.DROPDOWN_MENU}, navigationControl: true, navigationControlOptions: {style: google.maps.NavigationControlStyle.SMALL}, mapTypeId: google.maps.MapTypeId.ROADMAP }; var map = new google.maps.Map(document.getElementById("map_canvas"), settings); var companyImage = new google.maps.MarkerImage('images/iconobodasyfiestaCLIENTES.png', new google.maps.Size(100,50), new google.maps.Point(0,0), new google.maps.Point(50,50) ); var companyPos = new google.maps.LatLng(40.416775, -3.703790); var companyMarker = new google.maps.Marker({ position: companyPos, map: map, icon: companyImage, title:"Sólo descripción. Quedamos en que no habría ni fotos ni enlaces...", zIndex: 3} ); google.maps.event.addListener(companyMarker, 'click', function() { infowindow.open(map,companyMarker); }); } </script> </head> <body onload="initialize()"> <div align="center"> <ul> </ul> </div> <div align="center"> <div> </div> </div> </body> </html>
Saludos y gracias