Class Camera
-
- All Implemented Interfaces:
public abstract class CameraThis class handles calculating camera's zoom and tilt properties while routing. The NavigationTrimbleMapsMap 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 NavigationTrimbleMapsMap.setCamera or NavigationViewOptions.Builder.camera.
-
-
Constructor Summary
Constructors Constructor Description Camera()
-
Method Summary
Modifier and Type Method Description abstract Doubletilt(RouteInformation routeInformation)The angle, in degrees, of the camera angle from the nadir (directly facing the Earth). abstract Doublezoom(RouteInformation routeInformation)Zoom level near the center of the screen. abstract List<Point>overview(RouteInformation routeInformation)Return a list of route coordinates that should be visible when creating the route's overview.
-
-
-
Method Detail
-
tilt
abstract Double tilt(RouteInformation routeInformation)
The angle, in degrees, of the camera angle from the nadir (directly facing the Earth).
See CameraPosition.Builder.tilt for constraints.
-
zoom
abstract Double zoom(RouteInformation routeInformation)
Zoom level near the center of the screen.
See CameraPosition.Builder.zoom for constraints.
-
overview
abstract List<Point> overview(RouteInformation routeInformation)
Return a list of route coordinates that should be visible when creating the route's overview.
-
-