Themes: don't enforce 'allowMove' on unofficial themes
This commit is contained in:
parent
786b850dbe
commit
5b45e427a0
1 changed files with 1 additions and 1 deletions
|
@ -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 " +
|
||||
|
|
Loading…
Reference in a new issue