Skip to content

Uncaught in promise: Mapbox error #2345

Closed
@jackparmer

Description

@jackparmer

This map throws a Mapbox+Plotly.js console error on load and does not fire any selection events afterwards:
Uncaught (in promise) Error: Mapbox error.

https://plot.ly/~jackp/18343/

This map is the exact same Plotly graph, but has different geojson overlayers. It does not fire any console errors and responds to selection events.

https://plot.ly/~jackp/18345/

I'm guessing mapbox-gl is having an issue with the geojson in Graph1, but not in Graph2. The geojson for problematic Graph1 is here for convenience:

https://github.com/jackparmer/mapbox-counties/tree/master/1999

It would be nice if the mapbox error was caught and Plotly.js events still fired for Graph1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions