feat: Startpunkt Dreieck , Endpunkt Viereck, alle Punkt (Stützpunkt,Start un end) grau färben

This commit is contained in:
ISA
2024-07-11 12:00:25 +02:00
parent f52fd2ccd9
commit cd3d84f12c
4 changed files with 13 additions and 25 deletions

View File

@@ -2,9 +2,9 @@
import L from "leaflet";
const endIcon = L.divIcon({
className: "custom-end-icon",
html: "<div style='background-color:#ffffff;border-radius:50%;width:10px;height:10px;'></div>", // Blau für den Endpunkt
iconSize: [25, 25],
iconAnchor: [5, 5],
html: "<div style='background-color: gray; width: 14px; height: 14px;'></div>", // Graues Viereck
iconSize: [14, 14],
iconAnchor: [7, 7], // Mittelpunkt des Vierecks als Anker
});
export default endIcon;