Skip to content

Tiles are not showing after some layer-switching #201

@thomasneirynck

Description

@thomasneirynck

Go to the landing page and switch a few boundary layers.

This will get logged:

2mapbox-gl.js:33 Uncaught (in promise) Error: Style is not done loading
    at r._checkLoaded (mapbox-gl.js:33)
    at r.addSource (mapbox-gl.js:33)
    at n.addSource (mapbox-gl.js:33)
    at s.value (map.js:164)
    at app.js:70
    at l (runtime.js:45)
    at Generator._invoke (runtime.js:274)
    at Generator.forEach.e.<computed> [as next] (runtime.js:97)
    at d (main.bundle.js?0fa4f70aedbd095bb70d:1)
    at i (main.bundle.js?0fa4f70aedbd095bb70d:1)
mapbox-gl.js:33 Uncaught (in promise) TypeError: Cannot read property 'version' of undefined
    at r.serialize (mapbox-gl.js:33)
    at n.getStyle (mapbox-gl.js:33)
    at s.value (map.js:141)
    at s.value (map.js:156)
    at app.js:87
    at l (runtime.js:45)
    at Generator._invoke (runtime.js:274)
    at Generator.forEach.e.<computed> [as next] (runtime.js:97)
    at d (main.bundle.js?0fa4f70aedbd095bb70d:1)
    at i (main.bundle.js?0fa4f70aedbd095bb70d:1)

The tiles will fail to show as well.

Haven't found a reliable way to reproduce.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions