-
-
-
-
-
-
-
- {stationListing.map((station) => (
-
);
diff --git a/components/ExpandIcon.js b/components/ExpandIcon.js
new file mode 100644
index 000000000..215fdf076
--- /dev/null
+++ b/components/ExpandIcon.js
@@ -0,0 +1,22 @@
+const ExpandIcon = () => {
+ return (
+
+ );
+};
+
+export default ExpandIcon;
diff --git a/components/MapComponent.js b/components/MapComponent.js
index 8509daff4..c8cf70f2e 100644
--- a/components/MapComponent.js
+++ b/components/MapComponent.js
@@ -522,7 +522,12 @@ const MapComponent = ({ locations, onLocationUpdate }) => {
: `TileMap/img/icons/marker-icon-${iconNumber}.png`;
// Wenn der Pfad das Wort "critical" oder "major" enthält, dann den Marker bouncing options setzen
- if (path.includes("critical") || path.includes("major")) {
+ if (
+ path.includes("critical") ||
+ path.includes("major") ||
+ path.includes("minor") ||
+ path.includes("system")
+ ) {
// Setze Bouncing-Optionen
marker.setBouncingOptions({
bounceHeight: 15, // Höhe des Bounces
@@ -617,7 +622,12 @@ const MapComponent = ({ locations, onLocationUpdate }) => {
})
);
// Check if the icon path includes 'critical' and initiate bouncing
- if (iconPath.includes("critical") || iconPath.includes("major")) {
+ if (
+ iconPath.includes("critical") ||
+ iconPath.includes("major") ||
+ iconPath.includes("minor") ||
+ iconPath.includes("system")
+ ) {
marker.setBouncingOptions({
bounceHeight: 15,
contractHeight: 12,
diff --git a/public/img/expand-icon.svg b/public/img/expand-icon.svg
new file mode 100644
index 000000000..42f6e3731
--- /dev/null
+++ b/public/img/expand-icon.svg
@@ -0,0 +1,3 @@
+
- handleCheckboxChange(station.id)}
- // Wenn du möchtest, dass die Checkboxen nicht veränderbar sind, entferne den onChange-Handler und setze `readOnly`
- />
-