Themes: don't enforce 'allowMove' on unofficial themes

This commit is contained in:
Pieter Vander Vennet 2024-09-03 21:00:56 +02:00
parent 786b850dbe
commit 5b45e427a0

View file

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