mapview ยท console.warn
createMapView: the grid has no place to draw...
Printed by mapview, prefixed [lattice], since 1.85.0.
Warnings reference › mapview:geometry
- Identifier
mapview:geometry- Raised by
- mapview
- Since
- 1.85.0
What happened
options.geometry says where each row is placed, and it must name columns of the grid: { lat, lng } (or lon), { geojson } or { path }. It was missing, or named a column the grid does not have, so no map was made.
The fix
Name the grid's own columns in geometry.
The smallest fix
geometry: { lat: 'latitude', lng: 'longitude' } // or { geojson: 'geom' } or { path: 'route' }
Reference
Covered in full at the API reference.