forked from MapComplete/MapComplete
Add switch to hide certain features, cleanup of code
This commit is contained in:
parent
aa0989b72a
commit
1b1ec9f15d
18 changed files with 230 additions and 173 deletions
|
@ -43,7 +43,7 @@ class TitleElement extends UIElement {
|
|||
}
|
||||
if (layer.source.osmTags.matchesProperties(properties)) {
|
||||
const title = new TagRenderingAnswer(
|
||||
this._allElementsStorage.getEventSourceFor(feature),
|
||||
this._allElementsStorage.addOrGetElement(feature),
|
||||
layer.title
|
||||
)
|
||||
return new Combine([defaultTitle, " | ", title]).Render();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue