public abstract class Camera extends Object
MapboxNavigation
uses
a SimpleCamera
by default. If you would like to customize the camera properties, create a
concrete implementation of this class or subclass SimpleCamera
and update
MapboxNavigation.setCameraEngine(Camera)
.Constructor and Description |
---|
Camera() |
Modifier and Type | Method and Description |
---|---|
abstract List<com.mapbox.geojson.Point> |
overview(RouteInformation routeInformation)
Return a list of route coordinates that should be visible when creating the route's overview.
|
abstract double |
tilt(RouteInformation routeInformation)
The angle, in degrees, of the camera angle from the nadir (directly facing the Earth).
|
abstract double |
zoom(RouteInformation routeInformation)
Zoom level near the center of the screen.
|
public abstract double tilt(RouteInformation routeInformation)
public abstract double zoom(RouteInformation routeInformation)
public abstract List<com.mapbox.geojson.Point> overview(RouteInformation routeInformation)
© 2019 Mapbox. All rights reserved.