Viewpoint.withExtentCamera constructor

Viewpoint.withExtentCamera({
  1. required Geometry targetExtent,
  2. required Camera camera,
})

Create a viewpoint with a bounding extent and a Camera.

Parameters:

  • targetExtent — The geometry to use as the visible area.
  • camera — A Camera object that defines the observer for the scene.