public class SimpleCamera extends Camera
MapboxNavigation
.Modifier and Type | Field and Description |
---|---|
protected static int |
DEFAULT_TILT |
protected static double |
DEFAULT_ZOOM |
Constructor and Description |
---|
SimpleCamera() |
Modifier and Type | Method and Description |
---|---|
List<com.mapbox.geojson.Point> |
overview(RouteInformation routeInformation)
Return a list of route coordinates that should be visible when creating the route's overview.
|
double |
tilt(RouteInformation routeInformation)
The angle, in degrees, of the camera angle from the nadir (directly facing the Earth).
|
double |
zoom(RouteInformation routeInformation)
Zoom level near the center of the screen.
|
protected static final int DEFAULT_TILT
protected static final double DEFAULT_ZOOM
public double tilt(RouteInformation routeInformation)
Camera
public double zoom(RouteInformation routeInformation)
Camera
public List<com.mapbox.geojson.Point> overview(RouteInformation routeInformation)
Camera
© 2019 Mapbox. All rights reserved.