viewof map = {
const container = html`<div style="height:600px;">`;
yield container;
const map = container.value = new mapboxgl.Map({
container,
center: [-73.973103, 40.781031],
zoom: 14,
style: "mapbox://styles/mapbox/streets-v11",
scrollZoom: false
});
for (const element of daysQuery) {
const thisMarker = new mapboxgl.Marker()
.setLngLat([element.Longitude, element.Latitiude])
.addTo(map);
}
invalidation.then(() => map.remove());
}