diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/maps/circle.ts b/ui-ngx/src/app/modules/home/components/widget/lib/maps/circle.ts index b5f47103f0..d50a62bc9a 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/maps/circle.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/maps/circle.ts @@ -102,7 +102,7 @@ export class Circle { const circleLabelText = fillDataPattern(this.map.circleLabelText, this.map.replaceInfoTooltipCircle, this.data); const labelColor = this.map.ctx.widgetConfig.color; this.leafletCircle.bindTooltip(`
${circleLabelText}
`, - { className: 'tb-polygon-label', permanent: true, sticky: true, direction: 'center'}) + { className: 'tb-polygon-label', permanent: true, direction: 'center'}) .openTooltip(this.leafletCircle.getLatLng()); } } diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/maps/polygon.ts b/ui-ngx/src/app/modules/home/components/widget/lib/maps/polygon.ts index 45269da5c7..9b08c7dbcd 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/maps/polygon.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/maps/polygon.ts @@ -110,7 +110,7 @@ export class Polygon { const polygonLabelText = fillDataPattern(this.map.polygonLabelText, this.map.replaceInfoLabelPolygon, this.data); const labelColor = this.map.ctx.widgetConfig.color; this.leafletPoly.bindTooltip(`
${polygonLabelText}
`, - { className: 'tb-polygon-label', permanent: true, sticky: true, direction: 'center' }) + { className: 'tb-polygon-label', permanent: true, direction: 'center' }) .openTooltip(this.leafletPoly.getBounds().getCenter()); } }