var latitudine = 45.8820237; var longitudine = 11.5460013; function initialize() { var styles = [ { stylers: [ { hue: "#000000" }, { saturation: -100 } ] },{ featureType: "road", elementType: "geometry", stylers: [ { lightness: 100 }, { visibility: "simplify" } ] },{ featureType: "road", elementType: "labels", stylers: [ { visibility: "on" } ] },{ featureType: "poi", elementType: "labels", stylers: [ { visibility: "off" } ] } ]; var styledMap = new google.maps.StyledMapType(styles, {name: "Styled Map"}); var latlng = new google.maps.LatLng(latitudine, longitudine); directionsDisplay = new google.maps.DirectionsRenderer(); var settings = { zoom: 9, center: latlng, scrollwheel: false, mapTypeControl: false, mapTypeControlOptions: {style: google.maps.MapTypeControlStyle.DROPDOWN_MENU}, navigationControl: true, navigationControlOptions: {style: google.maps.NavigationControlStyle.SMALL}, mapTypeId: [google.maps.MapTypeId.ROADMAP, 'map_style'] }; var map = new google.maps.Map(document.getElementById("mappa"), settings); map.mapTypes.set('map_style', styledMap); map.setMapTypeId('map_style'); directionsDisplay.setMap(map); var companyImage = new google.maps.MarkerImage('/images/mapsIcon.png', new google.maps.Size(84,59), new google.maps.Point(0,0), new google.maps.Point(25,59) ); var companyPos = new google.maps.LatLng(latitudine, longitudine); var companyMarker = new google.maps.Marker({ position: companyPos, map: map, icon: companyImage, title:"", zIndex: 3 }); var tooltip = '
Contrada Leghen, 2
36032 Gallio VI – Italia
Tel. +39 340 585 2508
info@sartoriservizi.it