KmlViewpoint.cameraViewpoint constructor

KmlViewpoint.cameraViewpoint({
  1. required ArcGISPoint cameraLocation,
  2. required double heading,
  3. required double pitch,
  4. required double roll,
  5. required KmlAltitudeMode altitudeMode,
})

Creates a KML viewpoint from the provided camera location.

KML viewpoint defines either a standalone camera independent of the point of interest being observed or a virtual camera in relation to the point of interest being observed.

Parameters:

  • cameraLocation — The location of the camera.
  • heading — The heading of the camera.
  • pitch — The pitch of the camera.
  • roll — The roll of the camera.
  • altitudeMode — The KML altitude mode KmlAltitudeMode.