Add interactive map support for bike and walk routes

This commit is contained in:
2026-05-19 15:38:45 +02:00
parent 7da5acbba3
commit 229e0dd557
12 changed files with 200 additions and 22 deletions
+4
View File
@@ -54,6 +54,8 @@ export interface BikeRoute {
distance: number;
duration: number;
steps: BikeStep[];
/** Encoded polyline geometry (Google polyline format). */
geometry?: string;
}
/** Walking route from OSRM with turn-by-turn steps. */
@@ -61,6 +63,8 @@ export interface WalkRoute {
distance: number;
duration: number;
steps: WalkStep[];
/** Encoded polyline geometry (Google polyline format). */
geometry?: string;
}
/** Walking step from OSRM route data. */