forked from MapComplete/MapComplete
refactoring: Fix documentation generation, (auto)remove documentation of deleted themes
This commit is contained in:
parent
43aeb9d191
commit
b0052d3a36
33 changed files with 1565 additions and 2903 deletions
|
@ -480,7 +480,7 @@ export default class LayerConfig extends WithContextLoader {
|
|||
)
|
||||
}
|
||||
|
||||
if (this.source.geojsonSource !== undefined) {
|
||||
if (this.source?.geojsonSource !== undefined) {
|
||||
extraProps.push(
|
||||
new Combine([
|
||||
Utils.runningFromConsole
|
||||
|
@ -530,8 +530,8 @@ export default class LayerConfig extends WithContextLoader {
|
|||
)
|
||||
}
|
||||
|
||||
let neededTags: TagsFilter[] = [this.source.osmTags]
|
||||
if (this.source.osmTags["and"] !== undefined) {
|
||||
let neededTags: TagsFilter[] = Utils.NoNull([this.source?.osmTags])
|
||||
if (this.source?.osmTags["and"] !== undefined) {
|
||||
neededTags = this.source.osmTags["and"]
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue