UNPKG

@stadiamaps/api

Version:
64 lines 2.22 kB
import { OsrmGuidanceModifier } from './OsrmGuidanceModifier'; import { OsrmBannerComponent } from './OsrmBannerComponent'; /** * * @export * @interface OsrmBannerContent */ export interface OsrmBannerContent { /** * * @type {string} * @memberof OsrmBannerContent */ text: string; /** * * @type {string} * @memberof OsrmBannerContent */ type?: OsrmBannerContentTypeEnum; /** * * @type {OsrmGuidanceModifier} * @memberof OsrmBannerContent */ modifier?: OsrmGuidanceModifier | null; /** * A list of objects with additional context that allow for visual layout improvements beyond what's possible with plain text. * @type {Array<OsrmBannerComponent>} * @memberof OsrmBannerContent */ components?: Array<OsrmBannerComponent>; } /** * @export */ export declare const OsrmBannerContentTypeEnum: { readonly Turn: "turn"; readonly NewName: "new name"; readonly Depart: "depart"; readonly Arrive: "arrive"; readonly Merge: "merge"; readonly OnRamp: "on ramp"; readonly OffRamp: "off ramp"; readonly Fork: "fork"; readonly EndOfRoad: "end of road"; readonly Continue: "continue"; readonly Roundabout: "roundabout"; readonly Rotary: "rotary"; readonly RoundaboutTurn: "roundabout turn"; readonly Notification: "notification"; readonly ExitRoundabout: "exit roundabout"; readonly ExitRotary: "exit rotary"; }; export type OsrmBannerContentTypeEnum = (typeof OsrmBannerContentTypeEnum)[keyof typeof OsrmBannerContentTypeEnum]; /** * Check if a given object implements the OsrmBannerContent interface. */ export declare function instanceOfOsrmBannerContent(value: object): value is OsrmBannerContent; export declare function OsrmBannerContentFromJSON(json: any): OsrmBannerContent; export declare function OsrmBannerContentFromJSONTyped(json: any, ignoreDiscriminator: boolean): OsrmBannerContent; export declare function OsrmBannerContentToJSON(json: any): OsrmBannerContent; export declare function OsrmBannerContentToJSONTyped(value?: OsrmBannerContent | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=OsrmBannerContent.d.ts.map