SimpleCamera

open class SimpleCamera : Camera

The default camera used by MapLibreNavigation.

Since

0.10.0

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun bearing(routeInformation: RouteInformation): Double

Direction that the camera is pointing in, in degrees clockwise from north.

Link copied to clipboard
open override fun overview(routeInformation: RouteInformation): List<Point>

List of points that must be visible in the camera view to show full route overview.

Link copied to clipboard
open override fun target(routeInformation: RouteInformation): Point?

The location that the camera is pointing at.

Link copied to clipboard
open override fun tilt(routeInformation: RouteInformation): Double

The angle, in degrees, of the camera angle from the nadir (directly facing the Earth). See tilt(float) for details of restrictions on the range of values.

Link copied to clipboard
open override fun zoom(routeInformation: RouteInformation): Double

Zoom level near the center of the screen. See zoom(float) for the definition of the camera's zoom level.