Refine GPS trace cleanup and marker rendering

This commit is contained in:
2026-03-24 14:40:34 +08:00
parent 2cf0bb76b4
commit 71ad6c6535
4 changed files with 41 additions and 7 deletions

View File

@@ -170,11 +170,6 @@ export class WebGLVectorRenderer {
this.pushSegment(positions, colors, trackPoints[index - 1], trackPoints[index], 6, [0.09, 0.43, 0.36, 0.96], scene)
}
for (const point of trackPoints) {
this.pushCircle(positions, colors, point.x, point.y, 10, [0.09, 0.43, 0.36, 1], scene)
this.pushCircle(positions, colors, point.x, point.y, 6.5, [0.97, 0.98, 0.95, 1], scene)
}
if (gpsPoint) {
this.pushCircle(positions, colors, gpsPoint.x, gpsPoint.y, this.gpsLayer.getPulseRadius(pulseFrame), [0.13, 0.62, 0.74, 0.22], scene)
this.pushCircle(positions, colors, gpsPoint.x, gpsPoint.y, 13, [1, 1, 1, 0.95], scene)