You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using geolib.isValidCoordinate to validate input of a function that use geolib calculations, I would expect this method to return false for invalid input coordinates, including null and undefined. It happens that, for these arguments, the method throws the following error: Uncaught Error: 'undefined' is no valid coordinate.
The text was updated successfully, but these errors were encountered:
When using
geolib.isValidCoordinate
to validate input of a function that use geolib calculations, I would expect this method to return false for invalid input coordinates, includingnull
andundefined
. It happens that, for these arguments, the method throws the following error:Uncaught Error: 'undefined' is no valid coordinate.
The text was updated successfully, but these errors were encountered: