Open
Description
Context
According to the leaflet documentation, it's possible to create a multi-polyline by passing a multidimensional LatLng[][]
array to the constructor.
Issue
It works, but the types do not reflect that:
vue-leaflet/src/functions/polyline.ts
Line 18 in db34dff
Proposal
- type: Array as PropType<L.LatLngExpression[]>
+ type: Array as PropType<L.LatLngExpression[] | L.LatLngExpression[][]>
Metadata
Metadata
Assignees
Labels
No labels