map = {
let container = DOM.element('div', { style: 'height:800px;' });
yield container;
let map = L.map(container).setView(latln, 13);
let osmLayer = L.tileLayer(
'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
{
attribution:
'© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
}
).addTo(map);
L.marker(latln).addTo(map);
array.map(a => L.marker(a).addTo(map));
L.polyline(array).addTo(map);
L.geoJSON(geojson).addTo(map);
}