This is the documentation of version 1.0.0-rc.2. Go to the latest version, 1.0.0-rc.5.
TomTom Maps for JavaScript
    Preparing search index...

    Type Alias RouteFlyoverOptions

    type RouteFlyoverOptions = {
        camera?: Partial<FlyoverCamera>;
        marker?: FlyoverMarkerConfig;
        onProgress?: (progress: FlyoverProgress) => void;
        route: Route;
    }
    Index
    camera?: Partial<FlyoverCamera>

    Overrides for the camera. Anything you leave out takes the default on FlyoverCamera.

    The marker riding the route at the followed position, by default an arrow.

    onProgress?: (progress: FlyoverProgress) => void

    Called with the flight's progress, once per survey rather than once per frame.

    route: Route

    The route to fly. Replace it later with RouteFlyover.setRoute.