diff --git a/components/MapComponent.js b/components/MapComponent.js index d0dded82c..819eaab18 100644 --- a/components/MapComponent.js +++ b/components/MapComponent.js @@ -2101,10 +2101,21 @@ const MapComponent = ({ locations, onLocationUpdate, lineCoordinates }) => { opacity: 1, fillOpacity: 0.8, }).addTo(map); + + // Add yellow circle markers for intermediate points + for (let i = 1; i < line.length - 1; i++) { + L.circleMarker(line[i], { + radius: 3, + fillColor: "#FFFF00", + color: "#FFFF00", + weight: 1, + opacity: 1, + fillOpacity: 0.8, + }).addTo(map); + } } }); }, [map, linePositions]); - //--------------------------------------------------------- return (