UNPKG

@stadiamaps/api

Version:
55 lines 2.27 kB
import { TraceEdge } from './TraceEdge'; import { MatchedPoint } from './MatchedPoint'; import { AdminRegion } from './AdminRegion'; /** * * @export * @interface TraceAttributesBaseResponse */ export interface TraceAttributesBaseResponse { /** * The list of edges matched along the path. * @type {Array<TraceEdge>} * @memberof TraceAttributesBaseResponse */ edges?: Array<TraceEdge> | null; /** * The set of administrative regions matched along the path. Rather than repeating this information for every end node, the admins in this list are referenced by index. * @type {Array<AdminRegion>} * @memberof TraceAttributesBaseResponse */ admins?: Array<AdminRegion>; /** * List of match results when using the map_snap shape match algorithm. There is a one-to-one correspondence with the input set of latitude, longitude coordinates and this list of match results. * @type {Array<MatchedPoint>} * @memberof TraceAttributesBaseResponse */ matchedPoints?: Array<MatchedPoint>; /** * * @type {number} * @memberof TraceAttributesBaseResponse */ osmChangeset?: number; /** * The encoded polyline (https://developers.google.com/maps/documentation/utilities/polylinealgorithm) of the matched path. * @type {string} * @memberof TraceAttributesBaseResponse */ shape?: string; /** * * @type {number} * @memberof TraceAttributesBaseResponse */ confidenceScore?: number; } /** * Check if a given object implements the TraceAttributesBaseResponse interface. */ export declare function instanceOfTraceAttributesBaseResponse(value: object): value is TraceAttributesBaseResponse; export declare function TraceAttributesBaseResponseFromJSON(json: any): TraceAttributesBaseResponse; export declare function TraceAttributesBaseResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): TraceAttributesBaseResponse; export declare function TraceAttributesBaseResponseToJSON(json: any): TraceAttributesBaseResponse; export declare function TraceAttributesBaseResponseToJSONTyped(value?: TraceAttributesBaseResponse | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=TraceAttributesBaseResponse.d.ts.map