Class MapCamera.State
Class MapCamera.State
- java.lang.Object
-
- com.here.sdk.mapview.MapCamera.State
-
- Enclosing class:
- MapCamera
public static final class MapCamera.State extends java.lang.ObjectEncapsulates state of the camera.
-
-
Field Summary
Fields Modifier and Type Field Description doubledistanceToTargetInMetersDistance from the camera to the target point in meters.GeoOrientationorientationAtTargetCamera's orientation at target point.GeoCoordinatestargetCoordinatesCamera's 'LookAt' target position in geodetic space.doublezoomLevelZoom level corresponding to the current distance to target.
-
Constructor Summary
Constructors Constructor Description State(GeoCoordinates targetCoordinates, GeoOrientation orientationAtTarget, double distanceToTargetInMeters, double zoomLevel)Creates a new instance.
-
-
-
Field Detail
-
targetCoordinates
@NonNull public GeoCoordinates targetCoordinates
Camera's 'LookAt' target position in geodetic space.
Note: The altitude of the target point is ignored. Any subsequent camera updates and animations will consider the target point as being located on the ground.
-
orientationAtTarget
@NonNull public GeoOrientation orientationAtTarget
Camera's orientation at target point.
-
distanceToTargetInMeters
public double distanceToTargetInMeters
Distance from the camera to the target point in meters.
-
zoomLevel
public double zoomLevel
Zoom level corresponding to the current distance to target.
-
-
Constructor Detail
-
State
public State(@NonNull GeoCoordinates targetCoordinates, @NonNull GeoOrientation orientationAtTarget, double distanceToTargetInMeters, double zoomLevel)Creates a new instance.
- Parameters:
targetCoordinates-Camera's 'LookAt' target position in geodetic space.
Note: The altitude of the target point is ignored. Any subsequent camera updates and animations will consider the target point as being located on the ground.
orientationAtTarget-Camera's orientation at target point.
distanceToTargetInMeters-Distance from the camera to the target point in meters.
zoomLevel-Zoom level corresponding to the current distance to target.
-
-