Some tweaking

This commit is contained in:
Pieter Vander Vennet 2023-10-06 15:14:51 +02:00
parent 650c1a675c
commit 46e7cf5833
2 changed files with 12 additions and 15 deletions

View file

@ -230,10 +230,7 @@ class LineRenderingLayer {
const self = this
features.features.addCallbackAndRunD(() => self.update(features.features))
map.on("styledata", () => {
self._listenerInstalledOn.clear()
return self.update(features.features);
})
map.on("styledata", () => self.update(features.features))
}
public destruct(): void {