',45.7643171, 10.8229328,1],
['
',45.647282, 13.77977,3],
['
',43.7715125, 11.2573904,4],
['
',45.4407213, 12.338878199999953,5],
['
',45.4361471, 12.342367299999978,6],
['
',43.414148, 10.965769000000023,7],
['
',45.4344977, 12.357236000000057,8],
['
',45.4344977, 12.357236000000057,9],
['
',37.005714, 15.316987199999971,10],
['
',44.1733232, 12.030453099999932,11],
['
',40.8083885, 14.342426400000022,12],
['
',45.5061823, 12.218240599999945,13],
['
',43.469178, 11.041549000000032,14],
['
',43.0556418, 12.466130099999987,15],
['
',45.433945, 12.3421271,16],
];
var mapOptions = {
//zoom: 8,
//center: new google.maps.LatLng(, ),
//mapTypeId: google.maps.MapTypeId.TERRAIN
mapTypeControlOptions: {
mapTypeIds: [google.maps.MapTypeId.ROADMAP, 'map_style']
}
};
var infowindow = new google.maps.InfoWindow();
map = new google.maps.Map(document.getElementById('mappa-stagionalita-canvas'), mapOptions);
//Associate the styled map with the MapTypeId and set it to display.
map.mapTypes.set('map_style', styledMap);
// definizione dei limiti
var origBounds = map.getBounds();
bounds = new google.maps.LatLngBounds();
// fine definizione dei limiti
// definizione dei marker
var image_marker = '/marker_tour.png';
var marker, i;
for (i = 0; i 1) {
map.fitBounds(bounds);
}
else if (locations.length == 1) {
map.setCenter(bounds.getCenter());
map.setZoom(5);
}
}
} // fine initialize
google.maps.event.addDomListener(window, 'load', initialize);
//initialize();