Viewpoint.withLatLongScaleCamera constructor

Viewpoint.withLatLongScaleCamera({
  1. required double latitude,
  2. required double longitude,
  3. required double scale,
  4. required Camera camera,
})

Creates a viewpoint with latitude, longitude, scale, and Camera.

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.
  • camera — A Camera object that defines the observer for the scene.