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

Catch wrong LngLats #169

Open
olafveerman opened this issue Nov 14, 2017 · 0 comments
Open

Catch wrong LngLats #169

olafveerman opened this issue Nov 14, 2017 · 0 comments

Comments

@olafveerman
Copy link
Contributor

The staging environment contains a scenario (Senegal) that doesn't have a correct lat lon, which subsequently blocks the UI (eg. project creation). The underlying issue will be addressed here (WorldBank-Transport/ram-backend#211), but we should also make sure this doesn't block the UI.

vendor-4e91812222.js:1 Uncaught Error: Invalid LngLat latitude value: must be between -90 and 90
    at new o (vendor-4e91812222.js:1)
    at Function.o.convert (vendor-4e91812222.js:1)
    at o.setSouthWest (vendor-4e91812222.js:1)
    at new o (vendor-4e91812222.js:1)
    at Function.o.convert (vendor-4e91812222.js:1)
    at e.fitBounds (vendor-4e91812222.js:1)
    at Object.setupMap (bundle-317726cf72.js:1)
    at Object.componentDidMount (bundle-317726cf72.js:1)
    at t.notifyAll (vendor-4e91812222.js:1)
    at r.close (vendor-4e91812222.js:1)

cc @danielfdsilva

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