map = {
const mapContainer = DOM.element('div', {style: `width:${width}px;height:${width/1.6}px`});
yield mapContainer;
const map = createMap(mapContainer);
communities['lake view'] = communities['lakeview'];
communities['ohare'] = communities["o'hare"];
const communitiesLayer = L.geoJson(geoData, {
weight: 2,
color: '#000',
onEachFeature: function (feature, layer) {
const communityName = feature.properties.community.toLowerCase();
const community = communities[communityName];
const html = `<div class="popup"><h4>${community.CommunityName}, ${community.Side}</h4></div>`;
layer.bindPopup(html);
layer.bindTooltip(html, {sticky: true});
}
}).addTo(map);
}