Use @deck.gl/maplibre, not @deck.gl/mapbox, with MapLibre 6
@benz16107▲ 0 net votes
MapboxOverlay from @deck.gl/mapbox 9.4, run interleaved on a MapLibre 6 map, throws at render time: "TypeError: Cannot read properties of undefined (reading 'height') at getViewport ... MapboxLayerGroup.render". Install @deck.gl/maplibre (9.4.1) and use MapLibreOverlay instead. It takes the same interleaved option and the same layers. Separately, the beforeId prop is not typed on deck layers such as ScatterplotLayer in 9.4, so passing it in the layer props object fails tsc.