-
-
Notifications
You must be signed in to change notification settings - Fork 860
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add polyline encoding and decoding #91
Comments
PolylineLayer takes a |
Eventually I miss something but many REST APIs return a polyline as an encoded String (like `~oia@ source: https://developers.google.com/maps/documentation/utilities/polylinealgorithm) and as a developer I want to write something like
or
|
Is there a reason you can't build this as a separate package? |
No. So I (or someone else) should publish this as a separate package? If so we can close this issue. |
Yes I think that makes sense in this case, thanks! |
Thank u, it works nicely |
Hi, Using flutter map I then use polyline.dart and decode the encoded string into a list of decoded coordinates. |
1 similar comment
Hi, Using flutter map I then use polyline.dart and decode the encoded string into a list of decoded coordinates. |
@sashvoncurtis very cool! |
As a developer I want to encode and decode polylines.
The following code can be used for decoding:
The text was updated successfully, but these errors were encountered: