map = {
let container = DOM.element('div', { style: `width:${width}px;height:${width/1.6}px` });
yield container;
let map = L.map(container).setView([43.6, 1.45], 12);
let osmLayer = L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
maxZoom: 19,
attribution: '© <a href="https://openstreetmap.org/copyright">OpenStreetMap contributors</a>'
}).addTo(map);
const marker = L.marker([43.6, 1.44]).addTo(map);
marker.bindPopup("<b>Coucou !</b><br>Je suis un popup.");
const marker2 = L.marker([43.5781, 1.4]).addTo(map);
marker2.bindPopup("<b>Coucou !</b><br>Je suis un autre popup.");
const echelle = L.control.scale().addTo(map);
}