TomTom Maps for JavaScript
    Preparing search index...

    Type Alias FlyoverMarkerImage

    FlyoverMarkerImage:
        | { type: "arrow" } & SVGIconStyleOptions
        | { image: NonNullable<CustomImage["image"]>; type: "custom" }

    The image that rides the route, drawn pointing up. The flight turns it to face the road.

    • arrow - The plugin's own arrow, recoloured with the SDK's SVG icon options. Its fill defaults to #105287, the SDK's default route outline colour, not a theme's accent, and its outline to white.
    • custom - Yours, as a URL, raw SVG markup, a data URI or a loaded <img>, as for any SDK custom image. A URL on another origin needs CORS, since the image becomes a WebGL texture.