diff --git a/Models/ThemeConfig/PointRenderingConfig.ts b/Models/ThemeConfig/PointRenderingConfig.ts index a60bc10a5..7160a251d 100644 --- a/Models/ThemeConfig/PointRenderingConfig.ts +++ b/Models/ThemeConfig/PointRenderingConfig.ts @@ -215,9 +215,9 @@ export default class PointRenderingConfig extends WithContextLoader { if(icon === undefined && label === undefined){ htmlEl = undefined }else if(icon === undefined){ - htmlEl = label + htmlEl = new Combine([label]) }else if(label === undefined){ - htmlEl = new Combine([iconAndBadges]).SetStyle("flex flex-col") + htmlEl = new Combine([iconAndBadges]) }else { htmlEl = new Combine([iconAndBadges, label]).SetStyle("flex flex-col") }