Add interactive map support for bike and walk routes
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user