forked from MapComplete/MapComplete
Some tweaking
This commit is contained in:
parent
650c1a675c
commit
46e7cf5833
2 changed files with 12 additions and 15 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue