@jobleonard
Tinkering with code and algorithms for fun
Published (unlisted)
Insert cell
Insert cell
Insert cell
Changed in fork
viewof map = { const container = html`<div style="height:400px;">`; yield container; // Give the container dimensions. const map = container.value = new mapboxgl.Map({ container, center: [0,0], zoom: 1, style: mapStyle(), scrollZoom: false });
-
var marker = new mapboxgl.Marker() .setLngLat([longitude, 0]) .addTo(map);
invalidation.then(() => map.remove()); }
Insert cell
Removed in parent
Insert cell
Removed in parent
Insert cell
Insert cell
Insert cell
Insert cell