Viewpoint.withLatLongScale constructor
Creates a viewpoint with latitude, longitude, and scale.
The spatial reference for the defined point is WGS84.
Parameters:
latitude
— The latitude coordinate for the viewpoint. Negative values are south of the equator.longitude
— The longitude coordinate for the viewpoint. Negative values are west of the prime meridian.scale
— The ratio between a distance on the map and the corresponding distance on the ground.