KmlViewpoint.lookAtViewpoint constructor

KmlViewpoint.lookAtViewpoint({
  1. required ArcGISPoint lookAtLocation,
  2. required double heading,
  3. required double pitch,
  4. required double range,
  5. required KmlAltitudeMode altitudeMode,
})

Creates a KML viewpoint from the provided look at 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:

  • lookAtLocation — The observed location.
  • heading — The heading of the look at point.
  • pitch — The pitch of the look at point.
  • range — The distance between the point being observed and the location from where it is being observed.
  • altitudeMode — The KML altitude mode KmlAltitudeMode.