KmlTrackElement constructor

KmlTrackElement({
  1. required DateTime when,
  2. ArcGISPoint? coordinate,
  3. KmlOrientation? angle,
})

Creates a KmlTrackElement from a time instant, and optional coordinate and angle.

Coordinates will automatically be re-projected to WGS84 if they are not already.

Parameters:

  • when — The time instant at this point in the track.
  • coordinate — The coordinate at this point in the track. Null values will be interpolated upon track creation.
  • angle — The angle at this point in the track. Null values will be interpolated upon track creation.