function initialize() { var myLatlng = new google.maps.LatLng(41.8905198,12.4942486); var myOptions = {zoom: 5, center: myLatlng, mapTypeId: google.maps.MapTypeId.ROADMAP, scrollwheel: false} var map = new google.maps.Map(document.getElementById("mappabasso"), myOptions); var image1 = '/images/icon-maker.png'; var myLatLng1 = new google.maps.LatLng(44.254608701062004, 7.784663700958276); var contentString1 = 'GRAND HOTEL MONDOLE\'
Frabosa Sottana (Cuneo)
Piemonte
'; var infowindow1 = new google.maps.InfoWindow({content: contentString1, maxWidth: 100}); var beachMarker1 = new google.maps.Marker({position: myLatLng1, map: map, icon: image1, title: 'GRAND HOTEL MONDOLE\''}); google.maps.event.addListener(beachMarker1, 'click', function() {infowindow1.open(map,beachMarker1);}); var image2 = '/images/icon-maker.png'; var myLatLng2 = new google.maps.LatLng(44.34417676438888, 7.766765356063843); var contentString2 = 'HOTEL VILLA CINZIA
Villanova Mondovi (Cuneo)
Piemonte
'; var infowindow2 = new google.maps.InfoWindow({content: contentString2, maxWidth: 100}); var beachMarker2 = new google.maps.Marker({position: myLatLng2, map: map, icon: image2, title: 'HOTEL VILLA CINZIA'}); google.maps.event.addListener(beachMarker2, 'click', function() {infowindow2.open(map,beachMarker2);}); var darwin = new google.maps.LatLng(44.34417676438888, 7.766765356063843); map.setCenter(darwin); map.setZoom(7); var darwin = new google.maps.LatLng(44.34417676438888, 7.766765356063843); map.setCenter(darwin); map.setZoom(9); }