Viewpoint.fromCenter constructor
- ArcGISPoint center, {
- required double scale,
- double rotation = double.nan,
Creates a viewpoint with center point, scale, and rotation.
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.