function initialize() { var puntatore1 = L.marker([43.85064697708905, 13.013633185987487]).bindPopup('HOTEL ASTORIA
Fano(Pesaro e Urbino)
Marche
'),puntatore2 = L.marker([43.90732340130312, 12.927002906799316]).bindPopup('HOTEL NAUTILUS
Pesaro(Pesaro e Urbino)
Marche
'),puntatore3 = L.marker([43.908587, 12.925347]).bindPopup('HOTEL DELLE NAZIONI
Pesaro(Pesaro e Urbino)
Marche
'),puntatore4 = L.marker([43.965520942931164, 12.761624943160996]).bindPopup('HOTEL VENUS
Gabicce Mare(Pesaro e Urbino)
Marche
'),puntatore5 = L.marker([43.965762316351324, 12.756328582763672]).bindPopup('HOTEL ALEXANDER
Gabicce Mare(Pesaro e Urbino)
Marche
'),puntatore6 = L.marker([43.776011, 13.127689]).bindPopup('BIANCANEVE
Mondolfo(Pesaro e Urbino)
Marche
'); 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.776011, 13.127689], zoom: 9, layers: [streets, cities] }); var baseLayers = { "Streets": streets }; var overlays = { "Cities": cities }; L.control.layers(baseLayers, overlays).addTo(map); }