forked from MapComplete/MapComplete
Fixed some typos, fixed legacy loading in non-legacy settings, also show attribution when layer control is disabled
This commit is contained in:
parent
4a3537f925
commit
b441e6e8a5
8 changed files with 75 additions and 60 deletions
|
@ -15,8 +15,6 @@ public readonly name = "FilteringFeatureSource"
|
|||
|
||||
const self = this;
|
||||
|
||||
console.log("INITING pipeline: ",layers)
|
||||
|
||||
function update() {
|
||||
|
||||
const layerDict = {};
|
||||
|
@ -69,6 +67,7 @@ public readonly name = "FilteringFeatureSource"
|
|||
return false;
|
||||
|
||||
});
|
||||
console.log("Filtering layer source: input: ", upstream.features.data?.length, "output:", newFeatures.length)
|
||||
self.features.setData(newFeatures);
|
||||
if(missingLayers.size > 0){
|
||||
console.error("Some layers were not found: ", Array.from(missingLayers))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue