Skip to content

A raster layer that use the image source could not be removed #13693

Description

@fengce0730

mapbox-gl-js version

v3.10.0

Browser and version

Chrome 149.0.7827.103

Expected behavior

The layer correctly removed

Actual behavior

The layer can not be removed

Link to the demonstration

No response

Steps to trigger the unexpected behavior

Step 1: Add the raster layer with a image source
Step 2: Remove the layer before the image loaded (log shows that the layer is not founded)
Step 3: The image layer will be added into the map a few seconds later

Relevant log output

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions