diff --git a/components/MapComponent.js b/components/MapComponent.js index a6206c4f8..a106814ed 100644 --- a/components/MapComponent.js +++ b/components/MapComponent.js @@ -671,7 +671,7 @@ const MapComponent = ({ locations, onLocationUpdate, lineCoordinates }) => { marker.bindPopup(`
-

${station.LD_Name}

+ ${station.LD_Name} ${station.Device}
${station.Area_Short} (${station.Area_Name})
${station.Location_Short} (${station.Location_Name}) @@ -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}`,