function googleMapInitialize() { var latlng = new google.maps.LatLng(46.1821882248776,7.28617250352931); var myOptions = { zoom: 14, center: latlng, navigationControl: true, scaleControl: true, scrollwheel: false, mapTypeControlOptions:{style:google.maps.MapTypeControlStyle.DROPDOWN_MENU}, mapTypeId: google.maps.MapTypeId.HYBRID } var map = new google.maps.Map(document.getElementById("objetGoogleMap23"),myOptions); var marker = new google.maps.Marker({ position: new google.maps.LatLng(46.1771181780225,7.2748589459045), map: map, title:"Chalet Coq d'Or", draggable: false }); var contentString = '

Chalet Coq d\'Or

Calculer l\'itinéraire
'; var infowindow = new google.maps.InfoWindow({ content: contentString }); google.maps.event.addListener(marker, 'click', function() { infowindow.open(map,marker); }); infowindow.open(map,marker); }