function googleMapInitialize() { var latlng = new google.maps.LatLng(46.1821034305047,7.29148856933591); var myOptions = { zoom: 16, 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("objetGoogleMap5"),myOptions); var marker = new google.maps.Marker({ position: new google.maps.LatLng(46.1824302751306,7.29067317779538), map: map, title:"Les Etoiles - résidence A", draggable: false }); var contentString = '

Les Etoiles - résidence A

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); }