Fix build
This commit is contained in:
parent
8ff405497c
commit
d805686fd5
3 changed files with 6 additions and 2 deletions
|
@ -336,7 +336,7 @@ export class TagUtils {
|
|||
if (json["or"] !== undefined) {
|
||||
return new Or(json["or"].map(t => TagUtils.Tag(t, context)));
|
||||
}
|
||||
throw "At " + context + ": unrecognized tag"
|
||||
throw `At ${context}: unrecognized tag: ${JSON.stringify(json)}`
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
}
|
||||
],
|
||||
"calculatedTags": [
|
||||
"_entrance_properties=feat.overlapWith('entrance')?.map(e => e.feat.properties).filter(p => p !== undefined)",
|
||||
"_entrance_properties=feat.overlapWith('entrance')?.map(e => e.feat.properties).filter(p => p !== undefined).filter(p => p.width !== undefined)",
|
||||
"_entrance:id=feat.get('_entrance_properties')?.map(e => e.id)?.at(0)",
|
||||
"_entrance:width=feat.get('_entrance_properties')?.map(e => e.width)"
|
||||
],
|
||||
|
|
|
@ -331,6 +331,10 @@
|
|||
"if": "theme=uk_addresses",
|
||||
"then": "./assets/themes/uk_addresses/housenumber_unknown.svg"
|
||||
},
|
||||
{
|
||||
"if": "theme=walls_and_buildings",
|
||||
"then": "./assets/layers/walls_and_buildings/walls_and_buildings.png"
|
||||
},
|
||||
{
|
||||
"if": "theme=waste",
|
||||
"then": "./assets/layers/recycling/recycling-14.svg"
|
||||
|
|
Loading…
Reference in a new issue