forked from MapComplete/MapComplete
Merge master
This commit is contained in:
commit
cbea216d01
119 changed files with 5314 additions and 4218 deletions
|
@ -141,13 +141,9 @@ export class PrevalidateLayer extends DesugaringStep<LayerConfigJson> {
|
|||
}
|
||||
}
|
||||
|
||||
if(this._isBuiltin && 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 " +
|
||||
json.id +
|
||||
" does not have an explicit 'allowMove'"
|
||||
)
|
||||
context.err("Layer " + json.id + " does not have an explicit 'allowMove'")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue