function googleMapInitialize() { var latlng = new google.maps.LatLng(46.1810188866878,7.28932134445188); 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("objetGoogleMap11"),myOptions); var marker = new google.maps.Marker({ position: new google.maps.LatLng(46.1825045577293,7.29073755081174), map: map, title:"Les Etoiles - résidence B", draggable: false }); var contentString = '

Les Etoiles - résidence B

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