MapCameraState constructor

MapCameraState(
  1. GeoCoordinates targetCoordinates,
  2. GeoOrientation orientationAtTarget,
  3. double distanceToTargetInMeters,
  4. double zoomLevel,
)

Creates a new instance.

  • 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.

Implementation

MapCameraState(this.targetCoordinates, this.orientationAtTarget, this.distanceToTargetInMeters, this.zoomLevel);