map = {
const container = html`<div style="width:${width}px;height:${
width / 1.6
}px">`;
yield container;
const map = L.map(container).setView([41.3570701, -72.0923688], 16);
const controlLayers = new L.control.layers(
{
"Open Street Maps": OSM_Layer(),
"World Imagery": World_Imagery(),
"World Topo Map": World_Topo().addTo(map)
},
{
"3 Band_CIR": Band_CIR_image_wms().addTo(map)
},
{ position: "topright", collapsed: false }
);
map.addControl(controlLayers);
}