cameraPosition property

set cameraPosition (Coordinates pos)

Position the camera using geographic coordinates (lon/lat/alt).

The camera will be oriented toward the focused sphere center with north-up by default.

Parameters

  • pos: (Coordinates) Longitude, latitude (degrees) and altitude (meters) for the camera focal point.

Implementation

set cameraPosition(final Coordinates pos) {
  objectMethod(_pointerId, 'MapCamera', 'setCameraPosition', args: pos);
}