Skip to content

sourceCaches has been renamed in mapbox-gl #343

@kbrownlees

Description

@kbrownlees

Describe the bug

As of ~12 months ago sourcesCache in the map style has been renamed into three different variables: https://github.com/mapbox/mapbox-gl-js/blob/36533f3683dd48837ab07095fb6484165d9ee400/src/style/style.js#L139. This means any call which hits _updateTileSource in Source will cause a whitescreen because it tries to lookup a value in the sources cache - https://github.com/urbica/react-map-gl/blob/master/src/components/Source/index.js#L166.

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