경로 끝 파란 화살표 제거

This commit is contained in:
seo
2026-07-12 06:39:56 +09:00
parent 4fdfa65913
commit 0f0d365818
2 changed files with 2 additions and 4 deletions
+1 -3
View File
@@ -2075,7 +2075,7 @@ function drawSpeedTrack(points) {
}
if (segment.length >= 2) segments.push(segment);
segments.forEach((items, index) => {
segments.forEach(items => {
const line = new naver.maps.Polyline({
map: mapState.map,
path: items.map(point => point.latlng),
@@ -2084,8 +2084,6 @@ function drawSpeedTrack(points) {
strokeWeight: 5,
strokeLineCap: 'round',
strokeLineJoin: 'round',
endIcon: index === segments.length - 1 ? naver.maps.PointingIcon?.BLOCK_ARROW : undefined,
endIconSize: 16,
clickable: false
});
mapState.trackLines.push(line);