cmpPhase3Map = {
const container = DOM.element("div", {
style: `width:${width}px;height:${width}px`
});
yield container;
const map = L.map(container).setView([44.7, -68.6], 8);
const osmLayer = L.tileLayer(
"https://stamen-tiles-{s}.a.ssl.fastly.net/" +
`${base}` +
"/{z}/{x}/{y}{r}.{ext}",
{
attribution:
'Map tiles by <a href="http://stamen.com">Stamen Design</a>, <a href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a> — Map data © <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',
subdomains: "abcd",
minZoom: 0,
maxZoom: 20,
ext: "png"
}
).addTo(map);
const power = L.geoJson(cmpPhase3, {
weight: 1,
color: "#cb181d"
}).addTo(map);
}