@stadiamaps/ferrostar 0.27.0 → 0.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/ferrostar.d.ts CHANGED
@@ -148,11 +148,14 @@ export interface LocationSimulationState {
148
148
  }
149
149
 
150
150
  export interface NavigationControllerConfig {
151
+ waypointAdvance: WaypointAdvanceMode;
151
152
  stepAdvance: StepAdvanceMode;
152
153
  routeDeviationTracking: RouteDeviationTracking;
153
154
  snappedLocationCourseFiltering: CourseFiltering;
154
155
  }
155
156
 
157
+ export type WaypointAdvanceMode = { WaypointWithinRange: number };
158
+
156
159
  export type SpecialAdvanceConditions = { AdvanceAtDistanceFromEnd: number } | { MinimumDistanceFromCurrentStepLine: number };
157
160
 
158
161
  export type StepAdvanceMode = "Manual" | { DistanceToEndOfStep: { distance: number; minimumHorizontalAccuracy: number } } | { RelativeLineStringDistance: { minimumHorizontalAccuracy: number; specialAdvanceConditions: SpecialAdvanceConditions | undefined } };
package/ferrostar_bg.wasm CHANGED
Binary file
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "Luke Seelenbinder <luke@stadiamaps.com>"
8
8
  ],
9
9
  "description": "The core of modern turn-by-turn navigation.",
10
- "version": "0.27.0",
10
+ "version": "0.28.0",
11
11
  "license": "BSD-3-Clause",
12
12
  "repository": {
13
13
  "type": "git",