Skip to content

fix: allow latitude and longitude to be 0#11

Open
jketterl wants to merge 1 commit intocyphercodes:masterfrom
jketterl:allow_zero_lat_long
Open

fix: allow latitude and longitude to be 0#11
jketterl wants to merge 1 commit intocyphercodes:masterfrom
jketterl:allow_zero_lat_long

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