function initialize() {
var puntatore1 = L.marker([44.36046379251106, 8.58907699584961]).bindPopup('HOTEL SAVOY
Varazze(Savona)
Liguria'),puntatore2 = L.marker([44.17035410066212, 8.338580131530762]).bindPopup('RESIDENZA ADELAIDE
Finale Ligure(Savona)
Liguria'),puntatore3 = L.marker([43.981366692908686, 8.156393766403198]).bindPopup('HOTEL MEDITERRANEO
Laigueglia(Savona)
Liguria'),puntatore4 = L.marker([44.053544319820425, 8.225337266921997]).bindPopup('PICCOLOPARADISO
Albenga(Savona)
Liguria'),puntatore5 = L.marker([44.34456845018986, 8.541549350021977]).bindPopup('RESIDENCE FELICE
Celle Ligure(Savona)
Liguria');
var cities = L.layerGroup([puntatore1,puntatore2,puntatore3,puntatore4,puntatore5]);
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: [44.34456845018986, 8.541549350021977],
zoom: 9,
layers: [streets, cities]
});
var baseLayers = {
"Streets": streets
};
var overlays = {
"Cities": cities
};
L.control.layers(baseLayers, overlays).addTo(map);
}