forked from MapComplete/MapComplete
Feature(clustering): fix count update on filters, fix hiding when zoomed out to much
This commit is contained in:
parent
0048c091d0
commit
63e9d20255
5 changed files with 26 additions and 21 deletions
|
|
@ -12,8 +12,8 @@ export class IfVisibleFeatureSource<T extends Feature> implements FeatureSource<
|
|||
let dirty = false
|
||||
upstream.features.addCallbackAndRun(features => {
|
||||
if (!visible.data) {
|
||||
console.log(">>> not writing data as not visible")
|
||||
dirty = true
|
||||
this._features.set([])
|
||||
return
|
||||
}
|
||||
this._features.set(features)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue