createMap_new = function(L, view = [46.99758, 2.81834], zoom = 5) {
const container = html`<div style="height:550px;">`;
const map = L.map(container).setView(view, zoom);
L.tileLayer(
"https://cartodb-basemaps-{s}.global.ssl.fastly.net/light_all/{z}/{x}/{y}{r}.png",
{
attribution:
"| © <a href='http://osm.org/copyright'>OpenStreetMap</a> contributors"
}
).addTo(map);
container.value = map;
return container;
}