leaflet ยท console.warn
bindLeaflet: the map's view holds {count} ma...
Printed by leaflet, prefixed [lattice], since 1.76.0.
Warnings reference › leaflet:over
- Identifier
leaflet:over- Raised by
- leaflet
- Since
- 1.76.0
What happened
On a paged pushdown grid, more rows fell inside the map's view than viewportCap, and the engine cannot bin them into density cells (a lon/lat position, or an adapter without the spatial grid bucket). A random subset handed over as if it were the view would be the wrong picture, so the layers receive no rows and ctx.provenance.over carries the reason.
The fix
Zoom in until the view holds no more than the cap; narrow the grid's filter; raise viewportCap; or place rows by a geometry column over an adapter that bins it (duckdbAdapter({ spatial: true })).
The smallest fix
bindLeaflet(grid, { map, layers, position: { geometry: 'place' }, viewportCap: 50000 });
Reference
Covered in full at the API reference.