@maptiler/client 3.1.0-rc.3 → 3.1.0-rc.4
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.
|
@@ -1350,7 +1350,7 @@ interface RoutingRouteLeg {
|
|
|
1350
1350
|
*/
|
|
1351
1351
|
geometry: Position[];
|
|
1352
1352
|
/** Turn-by-turn steps */
|
|
1353
|
-
steps
|
|
1353
|
+
steps?: RoutingRouteStep[];
|
|
1354
1354
|
}
|
|
1355
1355
|
/** Details of a single turn-by-turn step */
|
|
1356
1356
|
interface RoutingRouteStep {
|
|
@@ -1383,7 +1383,7 @@ interface RoutingRouteManeuver {
|
|
|
1383
1383
|
/** Turn sharpness */
|
|
1384
1384
|
turnAngle?: number;
|
|
1385
1385
|
/** Maneuver type */
|
|
1386
|
-
type
|
|
1386
|
+
type?: "none" | "continue" | "slightLeftTurn" | "slightRightTurn" | "leftTurn" | "rightTurn" | "leftSharpTurn" | "rightSharpTurn" | "leftUTurn" | "rightUTurn" | "roundaboutEnter" | "roundaboutExit" | "start" | "destination";
|
|
1387
1387
|
}
|
|
1388
1388
|
/**
|
|
1389
1389
|
* Get directions using POST request
|