경로 끝 파란 화살표 제거
This commit is contained in:
+1
-3
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user