Using the placemark/polyline package #211
Closed
clementmas
started this conversation in
Ideas
Replies: 2 comments
-
@clementmas sounds reasonable enough to me. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Closing as complete by #214. Thanks, @clementmas, for the idea and the implementation! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There's a new polyline package from Placemark:
As highlighted in the readme, it is maintained, it uses [lon, lat] order, it doesn't have any depencencies and it is typed.
Using it would simplify the decoding process from
decode(geometry).map((coordinate) => coordinate.reverse())
todecode(geometry)
.I'd like to use it in my own codebase but I don't want to use both since Mapbox's package is a dependency of maplibre-gl-directions.
So it'd be great if you would consider switching packages.
Beta Was this translation helpful? Give feedback.
All reactions