Viewpoint.fromTargetExtent constructor
Creates a viewpoint with a bounding extent and rotation.
Parameters:
targetExtent
— The geometry to use as the visible area.rotation
— The rotation angle in degrees between 0 and 360.
Creates a viewpoint with a bounding extent and rotation.
Parameters:
targetExtent
— The geometry to use as the visible area.rotation
— The rotation angle in degrees between 0 and 360.