LookaheadCameraFramingStrategy

class LookaheadCameraFramingStrategy(var lookaheadInMeters: Double) : FollowingCameraFramingStrategy

A FollowingCameraFramingStrategy with a variable lookahead distance that frames route either only X meters ahead or up until the next maneuver - whichever is closest.

Constructors

Link copied to clipboard
constructor(lookaheadInMeters: Double)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun getPointsToFrameAfterCurrentManeuver(routeProgress: RouteProgress, followingFrameOptions: FollowingFrameOptions, postManeuverFramingPoints: List<List<List<Point>>>): List<Point>
Link copied to clipboard
open override fun getPointsToFrameOnCurrentStep(routeProgress: RouteProgress, followingFrameOptions: FollowingFrameOptions, averageIntersectionDistancesOnRoute: List<List<Double>>): List<Point>