@stadiamaps/api
Version:
Stadia Maps Geospatial APIs
35 lines • 1.3 kB
TypeScript
import { OsrmBannerContent } from './OsrmBannerContent';
/**
*
* @export
* @interface OsrmBannerInstruction
*/
export interface OsrmBannerInstruction {
/**
* How far (in meters) from the upcoming maneuver the instruction should start being displayed.
* @type {number}
* @memberof OsrmBannerInstruction
*/
distanceAlongGeometry: number;
/**
*
* @type {OsrmBannerContent}
* @memberof OsrmBannerInstruction
*/
primary: OsrmBannerContent;
/**
*
* @type {OsrmBannerContent}
* @memberof OsrmBannerInstruction
*/
secondary?: OsrmBannerContent;
}
/**
* Check if a given object implements the OsrmBannerInstruction interface.
*/
export declare function instanceOfOsrmBannerInstruction(value: object): value is OsrmBannerInstruction;
export declare function OsrmBannerInstructionFromJSON(json: any): OsrmBannerInstruction;
export declare function OsrmBannerInstructionFromJSONTyped(json: any, ignoreDiscriminator: boolean): OsrmBannerInstruction;
export declare function OsrmBannerInstructionToJSON(json: any): OsrmBannerInstruction;
export declare function OsrmBannerInstructionToJSONTyped(value?: OsrmBannerInstruction | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=OsrmBannerInstruction.d.ts.map