Skip to content
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

precision parsing bug, i think? #76

Open
tavelli opened this issue Dec 8, 2021 · 0 comments
Open

precision parsing bug, i think? #76

tavelli opened this issue Dec 8, 2021 · 0 comments

Comments

@tavelli
Copy link

tavelli commented Dec 8, 2021

using polyline.toGeoJSON, if i pass precision of 5 or omit precision the parsing works fine. but if i try to use precision of 4 it is messing up decimals places of the lat/lon pairs.

example, default precision or precision 5:
response: [-72.99583, 41.92463]

if i specify precision 4
response: [-729.9583, 419.2463]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant