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

Check for at least two coordinates when creating snapped location #636

Merged
merged 1 commit into from
Jan 12, 2018

Conversation

danesfeder
Copy link
Contributor

In mapbox/mapbox-java#689, a check was added when using Turf#pointOnLine

If we provide less than 2 coordinates, an exception is thrown by MAS. This will ensure we don't ever provide less than 2.

Note: this was found using 3.0.0-SNAPSHOT and is not in the current beta.1 which we are using in master

@danesfeder danesfeder added the bug Defect to be fixed. label Jan 8, 2018
@danesfeder danesfeder self-assigned this Jan 8, 2018
@danesfeder danesfeder merged commit ed984a3 into master Jan 12, 2018
@danesfeder danesfeder deleted the dan-snap-check branch January 12, 2018 21:53
@danesfeder danesfeder mentioned this pull request Jan 23, 2018
14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Defect to be fixed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants