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 |
|---|---|---|
| System.Collections.Generic.IEnumerable<KmlTrackElement> | elements | The individual elements of the track. |
| KmlAltitudeMode | altitudeMode | Determines how altitude values are interpreted. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 200.6 - 200.8 |
| .NET | 200.6 - 200.8 |
| .NET Windows | 200.6 - 200.8 |
| .NET Android | 200.6 - 200.8 |
| .NET iOS | 200.6 - 200.8 |
| .NET Framework | 200.6 - 200.8 |
| UWP | 200.6 - 200.8 |
KmlTrack(IEnumerable<KmlTrackElement>, KmlAltitudeMode, Boolean, Boolean, 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 |
|---|---|---|
| System.Collections.Generic.IEnumerable<KmlTrackElement> | elements | The individual elements of the track. |
| KmlAltitudeMode | altitudeMode | Determines how altitude values are interpreted. |
| System.Boolean | isExtruded |
|
| System.Boolean | isTessellated |
|
| KmlModel | model | The optional model used to represent the track's current position. Its geometry will be ignored. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 200.6 - 200.8 |
| .NET | 200.6 - 200.8 |
| .NET Windows | 200.6 - 200.8 |
| .NET Android | 200.6 - 200.8 |
| .NET iOS | 200.6 - 200.8 |
| .NET Framework | 200.6 - 200.8 |
| UWP | 200.6 - 200.8 |