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

Lat Long unexpected token, if negative #5

Open
CriticalPoint opened this issue Feb 15, 2021 · 1 comment
Open

Lat Long unexpected token, if negative #5

CriticalPoint opened this issue Feb 15, 2021 · 1 comment

Comments

@CriticalPoint
Copy link

In my example I was able to reproduce the error if LAT/LONG had a negative value.

city.findPaths({
  from: { lat: 51.672418464577476, -1.2798756107512863 }
})

Here is a screenshot of the unexpected token - https://i.ibb.co/mCGTKjR/Negative-LAT-LONG.png

I wonder if this is because of the position on the planet, or if I've done something wrong! [I hope it's not my stupidity!]

@CriticalPoint
Copy link
Author

Surely Seattle is west meridian (also negative), so now I've said this out loud I'm starting to think that I'm doing this wrong!

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