@stadiamaps/api
Version:
Stadia Maps Geospatial APIs
54 lines • 1.9 kB
TypeScript
/**
* Stadia Maps Geospatial APIs
* The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
*
* The version of the OpenAPI document: 10.0.1
* Contact: support@stadiamaps.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface OsrmLane
*/
export interface OsrmLane {
/**
* A list of indication (e.g. marking on the road) specifying the turn lane. A road can have multiple indications (e.g. an arrow pointing straight and left).
* @type {Array<string>}
* @memberof OsrmLane
*/
indications: Array<OsrmLaneIndicationsEnum>;
/**
* True if the lane is a valid choice for the current maneuver.
* @type {boolean}
* @memberof OsrmLane
*/
valid: boolean;
}
/**
* @export
*/
export declare const OsrmLaneIndicationsEnum: {
readonly None: "none";
readonly Uturn: "uturn";
readonly SharpRight: "sharp right";
readonly Right: "right";
readonly SlightRight: "slight right";
readonly Straight: "straight";
readonly SlightLeft: "slight left";
readonly Left: "left";
readonly SharpLeft: "sharp left";
};
export type OsrmLaneIndicationsEnum = (typeof OsrmLaneIndicationsEnum)[keyof typeof OsrmLaneIndicationsEnum];
/**
* Check if a given object implements the OsrmLane interface.
*/
export declare function instanceOfOsrmLane(value: object): value is OsrmLane;
export declare function OsrmLaneFromJSON(json: any): OsrmLane;
export declare function OsrmLaneFromJSONTyped(json: any, ignoreDiscriminator: boolean): OsrmLane;
export declare function OsrmLaneToJSON(json: any): OsrmLane;
export declare function OsrmLaneToJSONTyped(value?: OsrmLane | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=OsrmLane.d.ts.map