var latitudine1 = 45.875770; var longitudine1 = 11.50883; var latitudine2 = 46.49425; var longitudine2 = 11.39181; var latitudine3 = 45.93034; var longitudine3 = 13.11530; var latitudine4 = 47.31704; var longitudine4 = 11.59018; var latCentro = 46.55446; var longCentro = 12.23868; function initialize() { var styles = [ { stylers: [ { hue: "#4293cf" }, { saturation: 10 } ] },{ 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 latlngCentro = new google.maps.LatLng(latCentro, longCentro); var settings = { zoom: 8, center: latlngCentro, scrollwheel: false, mapTypeControl: false, mapTypeControlOptions: {style: google.maps.MapTypeControlStyle.DROPDOWN_MENU}, navigationControl: true, fullscreenControl: false, 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'); var companyImage = new google.maps.MarkerImage('/images/mapsIcon.png', new google.maps.Size(70,70), new google.maps.Point(0,0), new google.maps.Point(35,35) ); var infowindow = new google.maps.InfoWindow(); var latlng1 = new google.maps.LatLng(latitudine1, longitudine1); var companyPos1 = new google.maps.LatLng(latitudine1, longitudine1); var companyMarker1 = new google.maps.Marker({ position: companyPos1, map: map, icon: companyImage, title:"", zIndex: 3 }); var tooltip1 = '
Asiago

Asiago

Centre of the largest Plateau in Europe and seat of two prominent observatories.

DISCOVER
'; google.maps.event.addListener(companyMarker1, 'click', function() { infowindow.setContent(tooltip1); infowindow.open(map, this); }); var latlng2 = new google.maps.LatLng(latitudine2, longitudine2); var companyPos2 = new google.maps.LatLng(latitudine2, longitudine2); var companyMarker2 = new google.maps.Marker({ position: companyPos2, map: map, icon: companyImage, title:"", zIndex: 3 }); var tooltip2 = '
Cornedo all\'Isarco

Cornedo all\'Isarco

First astrovillage in Europe. Collepietra & S. Valentino in Val d’Ega.

DISCOVER
'; google.maps.event.addListener(companyMarker2, 'click', function() { infowindow.setContent(tooltip2); infowindow.open(map, this); }); var latlng3 = new google.maps.LatLng(latitudine3, longitudine3); var companyPos3 = new google.maps.LatLng(latitudine3, longitudine3); var companyMarker3 = new google.maps.Marker({ position: companyPos3, map: map, icon: companyImage, title:"", zIndex: 3 }); var tooltip3 = '
Talmassons

Talmassons

In the heart of rural Friuli amongst the waters of ancient mills.

DISCOVER
'; google.maps.event.addListener(companyMarker3, 'click', function() { infowindow.setContent(tooltip3); infowindow.open(map, this); }); var latlng4 = new google.maps.LatLng(latitudine4, longitudine4); var companyPos4 = new google.maps.LatLng(latitudine4, longitudine4); var companyMarker4 = new google.maps.Marker({ position: companyPos4, map: map, icon: companyImage, title:"", zIndex: 3 }); var tooltip4 = '
Tirol

Tirol

A boundless glimpse at the starry sky of Austria.

DISCOVER
'; google.maps.event.addListener(companyMarker4, 'click', function() { infowindow.setContent(tooltip4); infowindow.open(map, this); }); } google.maps.event.addDomListener(window, 'resize', initialize); google.maps.event.addDomListener(window, 'load', initialize);