diff --git a/public/img/icons/icon-background.svg b/public/img/icons/icon-background.svg index 01eb3a6c3..3b571154f 100644 --- a/public/img/icons/icon-background.svg +++ b/public/img/icons/icon-background.svg @@ -1,49 +1,48 @@ - - - - - - - - + + + + + diff --git a/public/img/icons/icon-background3.svg b/public/img/icons/icon-background3.svg new file mode 100644 index 000000000..01eb3a6c3 --- /dev/null +++ b/public/img/icons/icon-background3.svg @@ -0,0 +1,49 @@ + + + + + + + + + + diff --git a/public/img/icons/marker-icon-1.svg b/public/img/icons/marker-icon-1.svg new file mode 100644 index 000000000..ad411d8c1 --- /dev/null +++ b/public/img/icons/marker-icon-1.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/icons/marker-icon-10.svg b/public/img/icons/marker-icon-10.svg new file mode 100644 index 000000000..a9c062815 --- /dev/null +++ b/public/img/icons/marker-icon-10.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/icons/marker-icon-11.svg b/public/img/icons/marker-icon-11.svg new file mode 100644 index 000000000..3586d6368 --- /dev/null +++ b/public/img/icons/marker-icon-11.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/icons/marker-icon-12.svg b/public/img/icons/marker-icon-12.svg new file mode 100644 index 000000000..e317f0c99 --- /dev/null +++ b/public/img/icons/marker-icon-12.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/icons/marker-icon-13.svg b/public/img/icons/marker-icon-13.svg new file mode 100644 index 000000000..826260806 --- /dev/null +++ b/public/img/icons/marker-icon-13.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/icons/marker-icon-14.svg b/public/img/icons/marker-icon-14.svg new file mode 100644 index 000000000..0a510d9cb --- /dev/null +++ b/public/img/icons/marker-icon-14.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/icons/marker-icon-15.svg b/public/img/icons/marker-icon-15.svg new file mode 100644 index 000000000..4611c0bc7 --- /dev/null +++ b/public/img/icons/marker-icon-15.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/icons/marker-icon-16.svg b/public/img/icons/marker-icon-16.svg new file mode 100644 index 000000000..f70f10baa --- /dev/null +++ b/public/img/icons/marker-icon-16.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/icons/marker-icon-17.svg b/public/img/icons/marker-icon-17.svg new file mode 100644 index 000000000..6f346c4ee --- /dev/null +++ b/public/img/icons/marker-icon-17.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/icons/marker-icon-18.svg b/public/img/icons/marker-icon-18.svg new file mode 100644 index 000000000..0b1ba8a5f --- /dev/null +++ b/public/img/icons/marker-icon-18.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/icons/marker-icon-19.svg b/public/img/icons/marker-icon-19.svg new file mode 100644 index 000000000..2cef49518 --- /dev/null +++ b/public/img/icons/marker-icon-19.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/icons/marker-icon-2.svg b/public/img/icons/marker-icon-2.svg new file mode 100644 index 000000000..887421027 --- /dev/null +++ b/public/img/icons/marker-icon-2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/icons/marker-icon-20-2.png b/public/img/icons/marker-icon-20.png similarity index 100% rename from public/img/icons/marker-icon-20-2.png rename to public/img/icons/marker-icon-20.png diff --git a/public/img/icons/marker-icon-21.svg b/public/img/icons/marker-icon-21.svg new file mode 100644 index 000000000..f4d6341e3 --- /dev/null +++ b/public/img/icons/marker-icon-21.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/icons/marker-icon-22.svg b/public/img/icons/marker-icon-22.svg new file mode 100644 index 000000000..da85813db --- /dev/null +++ b/public/img/icons/marker-icon-22.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/icons/marker-icon-23.svg b/public/img/icons/marker-icon-23.svg new file mode 100644 index 000000000..b7fe4e237 --- /dev/null +++ b/public/img/icons/marker-icon-23.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/icons/marker-icon-24.svg b/public/img/icons/marker-icon-24.svg new file mode 100644 index 000000000..3759aff3a --- /dev/null +++ b/public/img/icons/marker-icon-24.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/icons/marker-icon-25.svg b/public/img/icons/marker-icon-25.svg new file mode 100644 index 000000000..9943db370 --- /dev/null +++ b/public/img/icons/marker-icon-25.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/icons/marker-icon-26.svg b/public/img/icons/marker-icon-26.svg new file mode 100644 index 000000000..10c972fc3 --- /dev/null +++ b/public/img/icons/marker-icon-26.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/icons/marker-icon-27.svg b/public/img/icons/marker-icon-27.svg new file mode 100644 index 000000000..10c972fc3 --- /dev/null +++ b/public/img/icons/marker-icon-27.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/icons/marker-icon-28.svg b/public/img/icons/marker-icon-28.svg new file mode 100644 index 000000000..e27e298f4 --- /dev/null +++ b/public/img/icons/marker-icon-28.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/icons/marker-icon-29.svg b/public/img/icons/marker-icon-29.svg new file mode 100644 index 000000000..0e8ad801b --- /dev/null +++ b/public/img/icons/marker-icon-29.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/icons/marker-icon-3.svg b/public/img/icons/marker-icon-3.svg new file mode 100644 index 000000000..a35d23ed8 --- /dev/null +++ b/public/img/icons/marker-icon-3.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/icons/marker-icon-30.svg b/public/img/icons/marker-icon-30.svg new file mode 100644 index 000000000..87ad99a4a --- /dev/null +++ b/public/img/icons/marker-icon-30.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/icons/marker-icon-31.svg b/public/img/icons/marker-icon-31.svg new file mode 100644 index 000000000..3b52eaa5b --- /dev/null +++ b/public/img/icons/marker-icon-31.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/icons/marker-icon-4.svg b/public/img/icons/marker-icon-4.svg new file mode 100644 index 000000000..3b52eaa5b --- /dev/null +++ b/public/img/icons/marker-icon-4.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/icons/marker-icon-5.svg b/public/img/icons/marker-icon-5.svg new file mode 100644 index 000000000..09876933c --- /dev/null +++ b/public/img/icons/marker-icon-5.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/icons/marker-icon-6.svg b/public/img/icons/marker-icon-6.svg new file mode 100644 index 000000000..59a52ded1 --- /dev/null +++ b/public/img/icons/marker-icon-6.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/icons/marker-icon-7.svg b/public/img/icons/marker-icon-7.svg new file mode 100644 index 000000000..e25bff40e --- /dev/null +++ b/public/img/icons/marker-icon-7.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/icons/marker-icon-8.svg b/public/img/icons/marker-icon-8.svg new file mode 100644 index 000000000..3ae313373 --- /dev/null +++ b/public/img/icons/marker-icon-8.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/icons/marker-icon-9.svg b/public/img/icons/marker-icon-9.svg new file mode 100644 index 000000000..e6c0f8443 --- /dev/null +++ b/public/img/icons/marker-icon-9.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/utils/createAndSetDevices.js b/utils/createAndSetDevices.js index 7f00124a2..00bf77c62 100644 --- a/utils/createAndSetDevices.js +++ b/utils/createAndSetDevices.js @@ -81,30 +81,41 @@ export const createAndSetDevices = async (systemId, setMarkersFunction, GisSyste console.log(`Station: ${station.LD_Name}, Min Level: ${minLevel}, Color: ${color}`); // **CSS-Filter für dynamische Einfärbung des Icons** + const outerColor = "rgba(255, 0, 0, 0.7)"; // Rot mit 70% Deckkraft + const innerColor = "rgba(255, 255, 255, 0.8)"; // Weiß mit 80% Deckkraft const marker = L.marker([station.X, station.Y], { icon: L.divIcon({ className: `custom-marker`, html: `
+ + + + + + + + + + drop-shadow(0 0 3px ${color});" />
`, - iconSize: [25, 41], + iconSize: [30, 45], iconAnchor: [12, 41], popupAnchor: [1, -34], }), + zIndexOffset: 100 * (6 - minLevel), });