UNPKG

@stadiamaps/api

Version:
55 lines 2.3 kB
/** * 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.1.2 * 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 SimpleRoutingWaypoint */ export interface SimpleRoutingWaypoint { /** * The latitude of a point in the shape. * @type {number} * @memberof SimpleRoutingWaypoint */ lat: number; /** * The longitude of a point in the shape. * @type {number} * @memberof SimpleRoutingWaypoint */ 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 SimpleRoutingWaypoint */ type?: SimpleRoutingWaypointTypeEnum; } /** * @export */ export declare const SimpleRoutingWaypointTypeEnum: { readonly Break: "break"; readonly Through: "through"; readonly Via: "via"; readonly BreakThrough: "break_through"; }; export type SimpleRoutingWaypointTypeEnum = (typeof SimpleRoutingWaypointTypeEnum)[keyof typeof SimpleRoutingWaypointTypeEnum]; /** * Check if a given object implements the SimpleRoutingWaypoint interface. */ export declare function instanceOfSimpleRoutingWaypoint(value: object): value is SimpleRoutingWaypoint; export declare function SimpleRoutingWaypointFromJSON(json: any): SimpleRoutingWaypoint; export declare function SimpleRoutingWaypointFromJSONTyped(json: any, ignoreDiscriminator: boolean): SimpleRoutingWaypoint; export declare function SimpleRoutingWaypointToJSON(json: any): SimpleRoutingWaypoint; export declare function SimpleRoutingWaypointToJSONTyped(value?: SimpleRoutingWaypoint | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=SimpleRoutingWaypoint.d.ts.map