forked from MapComplete/MapComplete
Huge refactoring: split readonly and writable stores
This commit is contained in:
parent
0946d8ac9c
commit
4283b76f36
95 changed files with 819 additions and 625 deletions
|
@ -141,7 +141,7 @@ export class TileHierarchyAggregator implements FeatureSource {
|
|||
return empty
|
||||
}
|
||||
|
||||
const features = []
|
||||
const features: {feature: any, freshness: Date}[] = []
|
||||
self.visitSubTiles(aggr => {
|
||||
if (aggr.showCount < cutoff) {
|
||||
return false
|
||||
|
@ -156,7 +156,7 @@ export class TileHierarchyAggregator implements FeatureSource {
|
|||
return features
|
||||
}, [this.updateSignal.stabilized(500)])
|
||||
|
||||
return new StaticFeatureSource(features, true);
|
||||
return new StaticFeatureSource(features);
|
||||
}
|
||||
|
||||
private update() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue