Viewpoint.withCenterPointScaleRotationCamera constructor

Viewpoint.withCenterPointScaleRotationCamera({
  1. required ArcGISPoint center,
  2. required double scale,
  3. required double rotation,
  4. required Camera camera,
})

Creates a viewpoint with center point, scale, rotation, and Camera.

Parameters:

  • center — The center of the visible area.
  • scale — The ratio between a distance on the map and the corresponding distance on the ground.
  • rotation — The rotation angle in degrees between 0 and 360.
  • camera — A Camera object that defines the observer for the scene.