map = {
let container = DOM.element('div', { style: `width:${width}px;height:${width/1.6}px` });
yield container;
let map = L.map(container).setView([42, -85], 10);
let usgsLayer = L.tileLayer('https://basemap.nationalmap.gov/arcgis/rest/services/USGSImageryOnly/MapServer/tile/{z}/{y}/{x}', { maxZoom: 20, attribution: 'Tiles courtesy of the <a href="https://usgs.gov/">U.S. Geological Survey</a>' }).addTo(map);
L.geoJSON(geo, {
onEachFeature: function(feature,layer) {layer.bindPopup (`<h1>${feature.properties.ID} - ${feature.properties.label}</h1>
<ul><li>Status: ${feature.properties.status}</li>
<li>Sensor Value: ${feature.properties.val}</li>
<li>Units: ${feature.properties.units}</li>
<li>Info: ${feature.properties.info}</li></ul>`); }
}).addTo(map);
}