function googleMapInitialize() { var latlng = new google.maps.LatLng(46.1786289150589,7.28681616123197); var myOptions = { zoom: 15, 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("objetGoogleMap28"),myOptions); var marker = new google.maps.Marker({ position: new google.maps.LatLng(46.178931451047,7.27877489860532), map: map, title:"Chalet Le Niola", draggable: false }); var contentString = '

Chalet Le Niola

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