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

geocoder.reverseGeocode does not accept zeros #6

Open
rbeitra opened this issue Jul 28, 2014 · 0 comments
Open

geocoder.reverseGeocode does not accept zeros #6

rbeitra opened this issue Jul 28, 2014 · 0 comments

Comments

@rbeitra
Copy link

rbeitra commented Jul 28, 2014

If you try to do a reverseGeocode on a location on the prime meridian or the equator (lat===0 or lon===0) you get an error because of the input validation here:

if ( !lat || !lng ) {

if(undefined !== lat || undefined !== lon){}" would fix this!

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

No branches or pull requests

1 participant