UNPKG

@stadiamaps/api

Version:
47 lines 1.5 kB
import { OsrmSpeedLimit } from './OsrmSpeedLimit'; /** * * @export * @interface OsrmAnnotation */ export interface OsrmAnnotation { /** * The distance, in meters, between each pair of coordinates. * @type {Array<number>} * @memberof OsrmAnnotation */ distance?: Array<number>; /** * The duration between each pair of coordinates, in seconds. * @type {Array<number>} * @memberof OsrmAnnotation */ duration?: Array<number>; /** * * @type {Array<number>} * @memberof OsrmAnnotation */ weight?: Array<number>; /** * The estimated speed of travel between each pair of coordinates in meters/sec. * @type {Array<number>} * @memberof OsrmAnnotation */ speed?: Array<number>; /** * * @type {Array<OsrmSpeedLimit>} * @memberof OsrmAnnotation */ maxspeed?: Array<OsrmSpeedLimit>; } /** * Check if a given object implements the OsrmAnnotation interface. */ export declare function instanceOfOsrmAnnotation(value: object): value is OsrmAnnotation; export declare function OsrmAnnotationFromJSON(json: any): OsrmAnnotation; export declare function OsrmAnnotationFromJSONTyped(json: any, ignoreDiscriminator: boolean): OsrmAnnotation; export declare function OsrmAnnotationToJSON(json: any): OsrmAnnotation; export declare function OsrmAnnotationToJSONTyped(value?: OsrmAnnotation | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=OsrmAnnotation.d.ts.map