Viewpoint.withPointScaleCamera constructor

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

Creates a viewpoint with center point, scale, 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.
  • camera — A Camera object that defines the observer for the scene.