forked from MapComplete/MapComplete
Themes: add guidepost theme
This commit is contained in:
parent
66c69602af
commit
ad239b230f
2 changed files with 17 additions and 0 deletions
|
@ -94,6 +94,9 @@ export default class LayoutConfig implements LayoutInformation {
|
|||
}
|
||||
const context = this.id
|
||||
this.credits = json.credits
|
||||
if(!json.title){
|
||||
throw `The theme ${json.id} does not have a title defined.`
|
||||
}
|
||||
this.language = json.mustHaveLanguage ?? Object.keys(json.title)
|
||||
this.usedImages = Array.from(
|
||||
new ExtractImages(official, undefined)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue