forked from MapComplete/MapComplete
I should have commited sooner...
This commit is contained in:
parent
2685b6e734
commit
16612b10ef
35 changed files with 570 additions and 177 deletions
|
|
@ -28,7 +28,8 @@ export class FeatureInfoBox extends UIElement {
|
|||
this._layerConfig = layerConfig;
|
||||
|
||||
|
||||
this._title = new TagRenderingAnswer(tags, layerConfig.title)
|
||||
this._title = layerConfig.title === undefined ? undefined :
|
||||
new TagRenderingAnswer(tags, layerConfig.title)
|
||||
.SetClass("featureinfobox-title");
|
||||
this._titleIcons = new Combine(
|
||||
layerConfig.titleIcons.map(icon => new TagRenderingAnswer(tags, icon)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue