Skip to content

Catch wrong LngLats #169

@olafveerman

Description

@olafveerman

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions