function initialize() {
var puntatore1 = L.marker([43.55608706205164, 11.209385738372816]).bindPopup('CHIANTI VILLAGE MORROCCO
Tavarnelle Val di Pesa(Firenze)
Toscana'),puntatore2 = L.marker([43.776725, 11.251479]).bindPopup('MACHIAVELLI
Firenze(Firenze)
Toscana'),puntatore3 = L.marker([43.77344538968182, 11.346701100006634]).bindPopup('FATTORIA DI POGGIOPIANO
Fiesole(Firenze)
Toscana'),puntatore4 = L.marker([43.561617, 11.210088]).bindPopup('VILLA FILLINELLE
Tavarnelle Val di Pesa(Firenze)
Toscana'),puntatore5 = L.marker([44.118522, 11.379471]).bindPopup('PICCOLA FIRENZE
Firenzuola(Firenze)
Toscana'),puntatore6 = L.marker([43.581728, 11.138147]).bindPopup('PANORAMA DEL CHIANTI
Certaldo(Firenze)
Toscana');
var cities = L.layerGroup([puntatore1,puntatore2,puntatore3,puntatore4,puntatore5,puntatore6]);
var mbAttr = 'Map data © OpenStreetMap contributors, ' +
'CC-BY-SA, ' +
'Imagery © Mapbox',
mbUrl = 'https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw';
var streets = L.tileLayer(mbUrl, {id: 'mapbox/streets-v11', tileSize: 512, zoomOffset: -1, attribution: mbAttr});
var map = L.map('mappabasso', {
center: [43.581728, 11.138147],
zoom: 9,
layers: [streets, cities]
});
var baseLayers = {
"Streets": streets
};
var overlays = {
"Cities": cities
};
L.control.layers(baseLayers, overlays).addTo(map);
}