Class DynamicCamera
-
- All Implemented Interfaces:
public class DynamicCamera extends SimpleCamera
Extension that recalculates the camera position on each progress update.
-
-
Field Summary
Fields Modifier and Type Field Description public final static SimpleCamera.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description DynamicCamera(TrimbleMapsMap trimbleMapsMap)
-
Method Summary
Modifier and Type Method Description doubletilt(@NonNull() RouteInformation routeInformation)The angle, in degrees, of the camera angle from the nadir (directly facing the Earth). doublezoom(@NonNull() RouteInformation routeInformation)Zoom level near the center of the screen. voidforceResetZoomLevel()Called when the zoom level should force update on the next usage of zoom. voidclearMap()
-
-
-
Method Detail
-
tilt
double tilt(@NonNull() RouteInformation routeInformation)
The angle, in degrees, of the camera angle from the nadir (directly facing the Earth).
See CameraPosition.Builder.tilt for constraints.
-
zoom
double zoom(@NonNull() RouteInformation routeInformation)
Zoom level near the center of the screen.
See CameraPosition.Builder.zoom for constraints.
-
forceResetZoomLevel
void forceResetZoomLevel()
Called when the zoom level should force update on the next usage of zoom.
-
clearMap
void clearMap()
-
-