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>
getCoordinates
Link copied to clipboard
fun getCoordinates(route: DirectionsRoute, routeProgress: RouteProgress): List<Point>
getLineString
Link copied to clipboard
fun getLineString(route: DirectionsRoute): LineString
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
zoom
Link copied to clipboard
open fun zoom(routeInformation: RouteInformation): Double
open fun zoom(routeInformation: RouteInformation): Double

Properties

MAX_CAMERA_ZOOM
Link copied to clipboard
val MAX_CAMERA_ZOOM: Double
MIN_CAMERA_ZOOM
Link copied to clipboard
val MIN_CAMERA_ZOOM: Double