polylines tooltip content
This commit is contained in:
11
components/gisPolylines/icons/EndIcon.js
Normal file
11
components/gisPolylines/icons/EndIcon.js
Normal file
@@ -0,0 +1,11 @@
|
||||
// /components/gisPolylines/icons/EndIcon.js
|
||||
// Viereck als End-Icon für die Route
|
||||
import L from "leaflet";
|
||||
const EndIcon = L.divIcon({
|
||||
className: "custom-end-icon",
|
||||
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
|
||||
});
|
||||
|
||||
export default EndIcon;
|
||||
Reference in New Issue
Block a user