X

Prova mappa

var myLatLng3 = new google.maps.LatLng(41.1431698,16.3703147); var myLatLng1 = new google.maps.LatLng(41.2268146,16.2741306); var myLatLng2 = new google.maps.LatLng(41.2747184,16.3913886); var myLatLng = new google.maps.LatLng(41.0847659,16.2686331); var myLatLng4 = new google.maps.LatLng(41.0822222,16.0700583); var myLatLng5 = new google.maps.LatLng(41.1169583,16.4713189); var myLatLng6 = new google.maps.LatLng(41.1292399,16.5386773); var myLatLng7 = new google.maps.LatLng(41.1088375,16.6731801); var myLatLng8 = new google.maps.LatLng(41.0568326,16.6925452); var myLatLng9 = new google.maps.LatLng(40.9978819,16.6758905);

var myOptions = { zoom: 10, center: myLatLng, mapTypeId: google.maps.MapTypeId.ROADMAP }

var map = new google.maps.Map(document.getElementById("gmaps-canvas"), myOptions);

var image1 = 'http://www.stradavinicasteldelmonte.it/wp-content/uploads/2015/12/blueIcon.png'; var marker = new google.maps.Marker({ position: myLatLng, map: map, icon: image1, title:"Corato" });

var marker = new google.maps.Marker({ position: myLatLng1, map: map, title:"Andria" });

var marker = new google.maps.Marker({ position: myLatLng2, map: map, title:"Trani" });

var marker = new google.maps.Marker({ position: myLatLng3, map: map, title:"Castel del Monte" });

var marker = new google.maps.Marker({ position: myLatLng4, map: map, title:"Minervino Murge" });

var marker = new google.maps.Marker({ position: myLatLng5, map: map, title:"Ruvo di Puglia" });

var marker = new google.maps.Marker({ position: myLatLng6, map: map, title:"Terlizzi" });

var marker = new google.maps.Marker({ position: myLatLng7, map: map, title:"Bitonto" });

var marker = new google.maps.Marker({ position: myLatLng8, map: map, title:"Palo del Colle" });

var marker = new google.maps.Marker({ position: myLatLng9, map: map, title:"Toritto" });

var contentString = 'Castel del Monte'; var infoWindow = new google.maps.InfoWindow({ content: contentString });

google.maps.event.addListener(marker, 'click', function() { infoWindow.open(map,marker); }); }