feat:Linien Mouse over polyline.setStyle

This commit is contained in:
ISA
2024-07-11 13:11:40 +02:00
parent cd3d84f12c
commit f75db21738
3 changed files with 8 additions and 5 deletions

View File

@@ -2,7 +2,7 @@
import L from "leaflet";
const endIcon = L.divIcon({
className: "custom-end-icon",
html: "<div style='background-color: gray; width: 14px; height: 14px;'></div>", // Graues Viereck
html: "<div style='background-color: gray; width: 14px; height: 14px; border: solid black 2px;'></div>", // Graues Viereck
iconSize: [14, 14],
iconAnchor: [7, 7], // Mittelpunkt des Vierecks als Anker
});