@@ -2179,16 +2179,15 @@ const MapComponent = ({ locations, onLocationUpdate, lineCoordinates }) => {
if (matchingLine) {
colorsByModule[matchingLine.idModul] = stat.PrioColor;
newTooltipContents[matchingLine.idModul] = `
-
-
- DpName: ${stat.DpName || "Unknown"}
-
-
- ModulName : ${stat.ModulName || "N/A"}
-
-
- Message : ${stat.Message || "N/A"}
-
+
+ ${stat.DpName || "Unknown"}
+ ModulName : ${stat.ModulName || "N/A"}
+ Message : ${stat.Message || "N/A"}
+
+ PrioName : ${stat.PrioName || "N/A"}
+ IdLD : ${stat.IdLD || "N/A"}
+ Modul : ${stat.Modul || "N/A"}
+
`;
}
@@ -2293,7 +2292,7 @@ const MapComponent = ({ locations, onLocationUpdate, lineCoordinates }) => {
);
updatedPolyline.on("mouseover", () => {
- updatedPolyline.setStyle({ weight: 12 });
+ updatedPolyline.setStyle({ weight: 10 });
updatedPolyline.bringToFront();
});
updatedPolyline.on("mouseout", () => {
@@ -2354,7 +2353,7 @@ const MapComponent = ({ locations, onLocationUpdate, lineCoordinates }) => {
);
polyline.on("mouseover", () => {
- polyline.setStyle({ weight: 12 });
+ polyline.setStyle({ weight: 10 });
polyline.bringToFront();
console.log(
`polyline with idLD : ${lineData.idLD}, idModul: ${lineData.idModul}`,