Remove all old 'hideUnderlayingFeaturePercentages' as they aren't used anymore; check in script; fix #431

This commit is contained in:
Pieter Vander Vennet 2021-07-26 10:37:11 +02:00
parent 177649614d
commit 00e2f56d3e
27 changed files with 4 additions and 35 deletions

View file

@ -56,6 +56,10 @@ class LayerOverviewUtils {
if (path != undefined && path.indexOf(expected) < 0) {
errorCount.push("Layer is in an incorrect place. The path is " + path + ", but expected " + expected)
}
if(layerJson["hideUnderlayingFeaturesMinPercentage"] !== undefined){
errorCount.push("Layer "+layer.id+" contains an old 'hideUnderlayingFeaturesMinPercentage'")
}
for (const image of images) {
if (image.indexOf("{") >= 0) {