This commit is contained in:
Pieter Vander Vennet 2023-11-17 18:26:59 +01:00
parent bf26ca5d31
commit 2720f5dd19

View file

@ -254,7 +254,7 @@ export default class PointRenderingConfig extends WithContextLoader {
)
let badges = undefined
if (options?.includeBadges ?? true) {
badges = this.GetBadges(tags, options.metatags)
badges = this.GetBadges(tags, options?.metatags)
}
const iconAndBadges = new Combine([icon, badges]).SetClass("block relative")