Keep track of when a layer is unrendered

This commit is contained in:
Tim Schaub
2022-02-08 09:20:22 -07:00
parent eb4d5e0784
commit bd86639351
6 changed files with 118 additions and 18 deletions

View File

@@ -118,6 +118,7 @@ class CompositeMapRenderer extends MapRenderer {
(sourceState != SourceState.READY &&
sourceState != SourceState.UNDEFINED)
) {
layer.unrender();
continue;
}