DynamicCamera

open class DynamicCamera : SimpleCamera

Extension that recalculates the camera position on each progress update.

Constructors

DynamicCamera
Link copied to clipboard
open fun DynamicCamera(mapboxMap: MapboxMap)

Functions

clearMap
Link copied to clipboard
open fun clearMap()
forceResetZoomLevel
Link copied to clipboard
open fun forceResetZoomLevel()
Called when the zoom level should force update on the next usageof zoom.
generateRouteCoordinates
Link copied to clipboard
fun generateRouteCoordinates(route: DirectionsRoute): List<Point>
getRoute
Link copied to clipboard
fun getRoute(routeInformation: RouteInformation): DirectionsRoute
overview
Link copied to clipboard
open fun overview(routeInformation: RouteInformation): List<Point>
tilt
Link copied to clipboard
open fun tilt(routeInformation: RouteInformation): Double
open fun tilt(routeInformation: RouteInformation): Double
zoom
Link copied to clipboard
open fun zoom(routeInformation: RouteInformation): Double
open fun zoom(routeInformation: RouteInformation): Double