forked from MapComplete/MapComplete
Performance: sprinkle 'onDestroy' everywhere to cleanup old stores; cleanup 'Stores' utility class
This commit is contained in:
parent
66f093afd8
commit
81be4db044
79 changed files with 332 additions and 325 deletions
|
@ -31,7 +31,7 @@ export default class NearbyFeatureSource implements FeatureSource {
|
|||
this._currentZoom = options?.currentZoom.stabilized(500)
|
||||
this._bounds = options?.bounds
|
||||
|
||||
this.features = Stores.ListStabilized(this._result)
|
||||
this.features = Stores.listStabilized(this._result)
|
||||
|
||||
sources.forEach((source, layer) => {
|
||||
this.registerSource(source, layer)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue