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

fix: allow latitude and longitude to be 0 #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jketterl
Copy link

@jketterl jketterl commented Dec 14, 2021

This fix allows latitude and longitude to be set to 0 in the constructor's options argument. Without this change, the default values would be applied due to the expression p0.lat evaluating to false for this particular edge case.

Also, on a side note: The git hooks set up on this project no longer work as expected and should be updated or removed.

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 this pull request may close these issues.

1 participant