koopjs / winnow

Deprecated
Apache License 2.0
90 stars 18 forks source link

Change truthy-test of coordinate to explicit number-test of both coor… #73

Closed rgwozdz closed 6 years ago

rgwozdz commented 6 years ago

Issue https://github.com/koopjs/koop/issues/309 demostrated problem with projecting coordinates of zero-value. Tracked this down to truthy-test for null/undefined value in the projectCoordinates function. Replaced with explicit test for numeric value. Added unit tests.