diff --git a/components/MapComponent.js b/components/MapComponent.js index 1145050b7..b86095a50 100644 --- a/components/MapComponent.js +++ b/components/MapComponent.js @@ -1009,27 +1009,28 @@ const MapComponent = ({ locations, onLocationUpdate }) => { // Tooltip beim Überfahren mit der Maus anzeigen marker.bindTooltip( ` -
-
+
+
${area_name}
-
- LT : ${measurements.LT} °C -
-
- FBT : ${measurements.FBT} °C -
-
- GT : ${measurements.GT === "nicht ermittelbar" ? measurements.GT : `${measurements.GT} °C`} -
-
- RLF : ${measurements.RLF} % -
+
+ LT : ${measurements.LT} °C
+
+ FBT : ${measurements.FBT} °C +
+
+ GT : ${measurements.GT === "nicht ermittelbar" ? measurements.GT : `${measurements.GT} °C`} +
+
+ RLF : ${measurements.RLF} % +
+
`, { permanent: true, // true würde den Tooltip immer anzeigen direction: "auto", // oder 'top', 'bottom', 'left', 'right' + offset: [20, 0], } );