Le quartier des moulins

Exemples d'aménagement

Contact

function initMap() { var mic = {lat: 46.777653, lng: 7.151078} var mapStyles = [ { "featureType": "administrative.country", "stylers": [ { "visibility": "off" } ] }, { "featureType": "administrative.province", "stylers": [ { "visibility": "off" } ] }, { "featureType": "landscape", "elementType": "geometry.fill", "stylers": [ { "color": "#d7f1e8" } ] }, { "featureType": "poi", "elementType": "geometry.fill", "stylers": [ { "color": "#d7f1e8" } ] }, { "featureType": "road", "elementType": "geometry.fill", "stylers": [ { "color": "#ffffff" } ] }, { "featureType": "water", "elementType": "geometry.fill", "stylers": [ { "color": "#c8e5ff" } ] } ] var map = new google.maps.Map( document.getElementById('evto-google-map'), { zoom: 15, center: mic, styles: mapStyles }) infoWindow = new google.maps.InfoWindow() var service = new google.maps.places.PlacesService(map) service.getDetails({ placeId: 'ChIJtS1cGslojkcRU-1U6fE4zPg' }, function(result, status) { if (status != google.maps.places.PlacesServiceStatus.OK) { alert(status); return; } var marker = new google.maps.Marker({ map: map, position: result.geometry.location }); var address = result.adr_address; var newAddr = address.split(","); var itinaryLink = 'Itinéraire' infoWindow.setContent(result.name + "
" + newAddr[0] + "
" + newAddr[1] + "
" + newAddr[2] + "
" + itinaryLink); infoWindow.open({anchor: marker, shouldFocus: false}); }); }