UNPKG

@stadiamaps/api

Version:
63 lines 1.95 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 RouteSummary */ export interface RouteSummary { /** * The estimated travel time, in seconds * @type {number} * @memberof RouteSummary */ time: number; /** * The estimated travel distance, in `units` (km or mi) * @type {number} * @memberof RouteSummary */ length: number; /** * The minimum latitude of the bounding box containing the route. * @type {number} * @memberof RouteSummary */ minLat: number; /** * The maximum latitude of the bounding box containing the route. * @type {number} * @memberof RouteSummary */ maxLat: number; /** * The minimum longitude of the bounding box containing the route. * @type {number} * @memberof RouteSummary */ minLon: number; /** * The maximum longitude of the bounding box containing the route. * @type {number} * @memberof RouteSummary */ maxLon: number; } /** * Check if a given object implements the RouteSummary interface. */ export declare function instanceOfRouteSummary(value: object): value is RouteSummary; export declare function RouteSummaryFromJSON(json: any): RouteSummary; export declare function RouteSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): RouteSummary; export declare function RouteSummaryToJSON(json: any): RouteSummary; export declare function RouteSummaryToJSONTyped(value?: RouteSummary | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=RouteSummary.d.ts.map