@stadiamaps/api
Version:
Stadia Maps Geospatial APIs
61 lines • 2.55 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 RoutingResponseWaypoint
*/
export interface RoutingResponseWaypoint {
/**
* The latitude of a point in the shape.
* @type {number}
* @memberof RoutingResponseWaypoint
*/
lat: number;
/**
* The longitude of a point in the shape.
* @type {number}
* @memberof RoutingResponseWaypoint
*/
lon: number;
/**
* A `break` represents the start or end of a leg, and allows reversals. A `through` location is an intermediate waypoint that must be visited between `break`s, but at which reversals are not allowed. A `via` is similar to a `through` except that reversals are allowed. A `break_through` is similar to a `break` in that it can be the start/end of a leg, but does not allow reversals. Defaults to `break`.
* @type {string}
* @memberof RoutingResponseWaypoint
*/
type?: RoutingResponseWaypointTypeEnum;
/**
* The original index of the location (locations may be reordered for optimized routes)
* @type {number}
* @memberof RoutingResponseWaypoint
*/
originalIndex?: number;
}
/**
* @export
*/
export declare const RoutingResponseWaypointTypeEnum: {
readonly Break: "break";
readonly Through: "through";
readonly Via: "via";
readonly BreakThrough: "break_through";
};
export type RoutingResponseWaypointTypeEnum = (typeof RoutingResponseWaypointTypeEnum)[keyof typeof RoutingResponseWaypointTypeEnum];
/**
* Check if a given object implements the RoutingResponseWaypoint interface.
*/
export declare function instanceOfRoutingResponseWaypoint(value: object): value is RoutingResponseWaypoint;
export declare function RoutingResponseWaypointFromJSON(json: any): RoutingResponseWaypoint;
export declare function RoutingResponseWaypointFromJSONTyped(json: any, ignoreDiscriminator: boolean): RoutingResponseWaypoint;
export declare function RoutingResponseWaypointToJSON(json: any): RoutingResponseWaypoint;
export declare function RoutingResponseWaypointToJSONTyped(value?: RoutingResponseWaypoint | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=RoutingResponseWaypoint.d.ts.map