forked from MapComplete/MapComplete
Themes: add 'allowMove' everywhere, make 'allowMove' obligated, see #2121
This commit is contained in:
parent
82e6b2af9b
commit
29d52e0fc6
13 changed files with 52 additions and 25 deletions
|
@ -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 " +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue