Fixed some typos, fixed legacy loading in non-legacy settings, also show attribution when layer control is disabled

This commit is contained in:
Pieter Vander Vennet 2021-05-03 16:04:35 +02:00
parent 4a3537f925
commit b441e6e8a5
8 changed files with 75 additions and 60 deletions

View file

@ -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))