From 03a086f9081f1ee0bc64788145c6897d11585b0e Mon Sep 17 00:00:00 2001 From: Louis-Maxime Piton Date: Wed, 21 Feb 2024 09:58:36 +0100 Subject: [PATCH] Fix z-index in any case --- src/iotMapManager/src/iot-map-marker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iotMapManager/src/iot-map-marker.ts b/src/iotMapManager/src/iot-map-marker.ts index 31a4f6ed..77b6230d 100644 --- a/src/iotMapManager/src/iot-map-marker.ts +++ b/src/iotMapManager/src/iot-map-marker.ts @@ -50,7 +50,7 @@ export class IotMapMarker extends IotMapDisplay { public select (selected: boolean): void { this.selected = selected this.setIcon(getMarkerIcon(this.data, this.config, selected)) - this.setZIndexOffset((selected) ? 100 : 0) + this.setZIndexOffset((selected) ? 1000000 : 0) } public getData (): IotMarker {