From 29eec5d13aff82543090c870eedbdb44b46128bf Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Wed, 26 Mar 2025 17:02:10 +0200 Subject: [PATCH] UI: New map widgets - change scale control position to bottom-right in order to avoid overlap with attribution control. --- ui-ngx/src/app/modules/home/components/widget/lib/maps/map.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/maps/map.ts b/ui-ngx/src/app/modules/home/components/widget/lib/maps/map.ts index 2b8d20c93d..c4df07336b 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/maps/map.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/maps/map.ts @@ -176,6 +176,7 @@ export abstract class TbMap { private setupControls(): Observable { if (this.settings.scales?.length) { L.control.scale({ + position: 'bottomright', metric: this.settings.scales.includes(MapScale.metric), imperial: this.settings.scales.includes(MapScale.imperial) }).addTo(this.map);