Skip to content

Conversation

shanekwheeler
Copy link

@shanekwheeler shanekwheeler commented Nov 26, 2021

This seems the safest way to conditionally add cleanup of the created source during layer cleanup. Note by default it won't run and will have to be enabled with the removeSource binding. Once people have tested this out with other scenarios it could be enabled by default with the ability to turn off. #88 (comment)

@HarelM
Copy link

HarelM commented May 22, 2022

In case this is of interest I've added a test to cover this scenario in my fork which follows this original repo.
maplibre/ngx-maplibre-gl#50

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants