Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

geocodePosition() fails for equator or prime meridian #92

Open
jgfoster opened this issue Apr 15, 2019 · 1 comment
Open

geocodePosition() fails for equator or prime meridian #92

jgfoster opened this issue Apr 15, 2019 · 1 comment

Comments

@jgfoster
Copy link

I set the location to the Royal Observatory Greenwich and then called geocodePosition(). This resulted in an error: "Error: invalid position: {lat, lng} required" because one of the values was zero.

Since 0,0 is in the ocean, that seems a reasonable error, but it seems that { lat: 51.4875, lng: 0 } should not be an error.

@sultan-arshi
Copy link

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@jgfoster @sultan-arshi and others