function initialize() { var puntatore1 = L.marker([45.48562046686088, 12.217440605163574]).bindPopup('PARK HOTEL AI PINI
Venezia(Venezia)
Veneto
'),puntatore2 = L.marker([45.483429011393355, 12.233123523310528]).bindPopup('ANDA VENICE
Venezia(Venezia)
Veneto
'),puntatore3 = L.marker([45.480044, 12.572433]).bindPopup('GARDEN PARADISO
Cavallino Treporti(Venezia)
Veneto
'),puntatore4 = L.marker([45.212781, 12.294807]).bindPopup('BRISTOL
Chioggia(Venezia)
Veneto
'),puntatore5 = L.marker([45.49087800223866, 12.580434679985046]).bindPopup('GARNÌ DA VITO
Iesolo(Venezia)
Veneto
'),puntatore6 = L.marker([45.775305913000494, 12.837867736816406]).bindPopup('HOTEL SPESSOTTO
Portogruaro(Venezia)
Veneto
'),puntatore7 = L.marker([45.437914039199185, 12.205193765888652]).bindPopup('PALLADIO
Venezia(Venezia)
Veneto
'),puntatore8 = L.marker([45.438463, 12.319580]).bindPopup('SANTA CHIARA
Venezia(Venezia)
Veneto
'),puntatore9 = L.marker([45.487228, 12.299206]).bindPopup('HOTEL ANTONY
Venezia(Venezia)
Veneto
'); var cities = L.layerGroup([puntatore1,puntatore2,puntatore3,puntatore4,puntatore5,puntatore6,puntatore7,puntatore8,puntatore9]); 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: [45.487228, 12.299206], zoom: 9, layers: [streets, cities] }); var baseLayers = { "Streets": streets }; var overlays = { "Cities": cities }; L.control.layers(baseLayers, overlays).addTo(map); }