Show / Hide Table of Contents

Constructor KmlTrack

KmlTrack(IEnumerable<KmlTrackElement>, KmlAltitudeMode)

Initializes a new instance of the KmlTrack class from a list of KmlTrackElement using a specified altitude mode.

Declaration
public KmlTrack(IEnumerable<KmlTrackElement> elements, KmlAltitudeMode altitudeMode)
Parameters
Type Name Description
IEnumerable<KmlTrackElement> elements

The individual elements of the track.

KmlAltitudeMode altitudeMode

Determines how altitude values are interpreted.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.6 - 200.8
.NET200.6 - 300.0
.NET Windows200.6 - 300.0
.NET Android200.6 - 300.0
.NET iOS200.6 - 300.0
.NET Framework200.6 - 200.8
UWP200.6 - 200.8

KmlTrack(IEnumerable<KmlTrackElement>, KmlAltitudeMode, bool, bool, KmlModel?)

Initializes a new instance of the KmlTrack class from an array of KmlTrackElement using a specified altitude mode, extrusion, tessellation, and a KmlModel.

Declaration
public KmlTrack(IEnumerable<KmlTrackElement> elements, KmlAltitudeMode altitudeMode, bool isExtruded, bool isTessellated, KmlModel? model)
Parameters
Type Name Description
IEnumerable<KmlTrackElement> elements

The individual elements of the track.

KmlAltitudeMode altitudeMode

Determines how altitude values are interpreted.

bool isExtruded

true if the track is extruded, false otherwise.

bool isTessellated

true if the track is tessellated, false otherwise.

KmlModel model

The optional model used to represent the track's current position. Its geometry will be ignored.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.6 - 200.8
.NET200.6 - 300.0
.NET Windows200.6 - 300.0
.NET Android200.6 - 300.0
.NET iOS200.6 - 300.0
.NET Framework200.6 - 200.8
UWP200.6 - 200.8
In this article
Provide feedback
Back to top Copyright © 2025 Esri.