Move to popups again

This commit is contained in:
Pieter Vander Vennet 2020-06-29 16:21:36 +02:00
parent 3e6def36b8
commit de9da2c220
11 changed files with 55 additions and 21 deletions

View file

@ -40,8 +40,8 @@ export class Bookcases extends LayerDefinition {
new TagMappingOptions({
key: "name",
template: "<h2>{name}</h2>",
missing: "<h2>Boekenruilkastje</h2>"
template: "{name}",
missing: "Boekenruilkastje"
}
),
new TagMappingOptions({key: "capacity", template: "Plaats voor {capacity} boeken"}),

View file

@ -36,9 +36,7 @@ export class Toilets extends LayerDefinition{
}
this.elementsToShow = [
new FixedUiElement("<h2>Toiletten</h2>"),
new FixedUiElement("Toiletten"),
new TagMappingOptions({
key: "access",