Themes: add 'allowMove' everywhere, make 'allowMove' obligated, see #2121

This commit is contained in:
Pieter Vander Vennet 2024-09-02 11:56:36 +02:00
parent 82e6b2af9b
commit 29d52e0fc6
13 changed files with 52 additions and 25 deletions

View file

@ -141,7 +141,7 @@ export class PrevalidateLayer extends DesugaringStep<LayerConfigJson> {
}
}
if(json.allowMove === undefined){
if(json.allowMove === undefined && json.source["geoJson"] === undefined){
if (!Constants.priviliged_layers.find((x) => x == json.id)) {
context.err(
"Layer " +