feat: circle, start and endIcon in components folder for Separation of Concerns (SOC)
This commit is contained in:
8
components/StartIcon.js
Normal file
8
components/StartIcon.js
Normal file
@@ -0,0 +1,8 @@
|
||||
import L from "leaflet";
|
||||
const startIcon = L.divIcon({
|
||||
className: "custom-start-icon",
|
||||
html: "<div style='background-color:#000000;border-radius:50%;width:10px;height:10px;'></div>", // Rot für den Startpunkt
|
||||
iconSize: [25, 25],
|
||||
iconAnchor: [5, 5],
|
||||
});
|
||||
export default startIcon;
|
||||
Reference in New Issue
Block a user