More tweaks

This commit is contained in:
Pieter Vander Vennet 2020-07-19 00:13:45 +02:00
parent fe4fa9dd0e
commit 5e0d54601c
8 changed files with 39 additions and 15 deletions

View file

@ -73,9 +73,14 @@ export class InformationBoard extends LayerDefinition {
k: isOsmSource,
txt: "This map is based on OpenStreetMap"
},
{
k: new And([new Tag("map_source:attribution", ""), new Tag("map_source","")]),
txt: "Unknown"
},
],
freeform: {
key: "map_source",
extraTags: new Tag("map_source:attribution", ""),
renderTemplate: "The map data is based on {map_source}",
template: "The map data is based on $$$"
}