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

distance() documentation confuses Point/Coordinate/position #2031

Closed
stevage opened this issue Feb 12, 2021 · 0 comments · Fixed by #2032
Closed

distance() documentation confuses Point/Coordinate/position #2031

stevage opened this issue Feb 12, 2021 · 0 comments · Fixed by #2032

Comments

@stevage
Copy link
Collaborator

stevage commented Feb 12, 2021

The documentation for distance() says the arguments must be Coord (and links here), meaning an array of 2 numbers.

The example, however, shows a Point object being passed.

In reality, it seems either Coords or Points are accepted.

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

Successfully merging a pull request may close this issue.

1 participant