function initialize() { var puntatore1 = L.marker([41.76801490726254, 12.64251708984375]).bindPopup('GRAND HOTEL HELIO CABALA
Marino(Roma)
Lazio
'),puntatore2 = L.marker([41.95612322951226, 12.482442855834961]).bindPopup('FLAMINIO VILLAGE
Roma(Roma)
Lazio
'); var cities = L.layerGroup([puntatore1,puntatore2]); 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: [41.95612322951226, 12.482442855834961], zoom: 9, layers: [streets, cities] }); var baseLayers = { "Streets": streets }; var overlays = { "Cities": cities }; L.control.layers(baseLayers, overlays).addTo(map); }