temp: move markers in the lines on the map
This commit is contained in:
@@ -2219,7 +2219,7 @@ const MapComponent = ({ locations, onLocationUpdate, lineCoordinates }) => {
|
|||||||
//---------------------------------------------------------
|
//---------------------------------------------------------
|
||||||
// Erstellt einen verschiebbaren Marker
|
// Erstellt einen verschiebbaren Marker
|
||||||
const draggableMarker = L.circleMarker(lineData.coordinates[0], {
|
const draggableMarker = L.circleMarker(lineData.coordinates[0], {
|
||||||
icon: circleIcon,
|
icon: blueCircleIcon,
|
||||||
draggable: true, // Ermöglicht das Verschieben des Markers
|
draggable: true, // Ermöglicht das Verschieben des Markers
|
||||||
}).addTo(map);
|
}).addTo(map);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user