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
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 200.6 - 200.8 |
| .NET | 200.6 - 300.0 |
| .NET Windows | 200.6 - 300.0 |
| .NET Android | 200.6 - 300.0 |
| .NET iOS | 200.6 - 300.0 |
| .NET Framework | 200.6 - 200.8 |
| UWP | 200.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 |
|
| bool | 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 - 300.0 |
| .NET Windows | 200.6 - 300.0 |
| .NET Android | 200.6 - 300.0 |
| .NET iOS | 200.6 - 300.0 |
| .NET Framework | 200.6 - 200.8 |
| UWP | 200.6 - 200.8 |