mapview ยท console.warn
createMapView: route.aggregate {value} is no...
Printed by mapview, prefixed [lattice], since 1.85.0.
Warnings reference › mapview:route
- Identifier
mapview:route- Raised by
- mapview
- Since
- 1.85.0
What happened
geometry.route.aggregate says how a route's colour, width, dash and elevation columns are read across the route's vertex rows. The value is none of first, last, min or max, so the route's first row is used.
The fix
Use first, last, min or max, or leave aggregate out.
The smallest fix
geometry: { lat: 'lat', lng: 'lng', route: { by: 'routeId', order: 'seq', aggregate: 'max' } }
Reference
Covered in full at the API reference.