fixes time and speed in route planning

This commit is contained in:
Christian Beutel
2025-04-21 23:25:06 +02:00
parent 1ec6f66b38
commit 59051babed
4 changed files with 38 additions and 9 deletions

View File

@@ -648,7 +648,7 @@ export class ElevationProfile {
if (this.settings.tooltipDisplaySpeed && this.speed.length) {
tooltipInfo.push(`Speed: ${this.speed[
tooltipItem.dataIndex
].toFixed(2)} ${distanceUnit}/h`
]?.toFixed(2)} ${distanceUnit}/h`
);
}