forked from MapComplete/MapComplete
Chore: small cleanups, formatting
This commit is contained in:
parent
dce838b130
commit
35cbaa7c33
7 changed files with 24 additions and 43 deletions
|
@ -1000,4 +1000,11 @@ export class PrepareLayer extends Fuse<LayerConfigJson> {
|
|||
new PruneFilters()
|
||||
)
|
||||
}
|
||||
|
||||
convert(json: LayerConfigJson, context: ConversionContext): LayerConfigJson {
|
||||
if(json === undefined || json === null){
|
||||
throw "Error: prepareLayer got null"
|
||||
}
|
||||
return super.convert(json, context)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue