Constructor KmlGeometry
KmlGeometry(Geometry, KmlAltitudeMode)
Initializes a new instance of the KmlGeometry class using a geometry and an altitude mode.
Declaration
public KmlGeometry(Geometry geometry, KmlAltitudeMode altitudeMode)
Parameters
Type | Name | Description |
---|---|---|
Geometry | geometry | The Geometry used for creating the new KmlGeometry. |
KmlAltitudeMode | altitudeMode | The KmlAltitudeMode. Determines how altitude values should be interpreted. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.6 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.6 - 200.6 |
Xamarin.Android | 100.6 - 100.15 |
Xamarin.iOS | 100.6 - 100.15 |
UWP | 100.6 - 200.6 |
Relevant samples
KmlGeometry(Geometry, KmlAltitudeMode, Boolean)
Initializes a new instance of the KmlGeometry class using geometry, an altitude mode, and boolean indicating whether the geometry is extruded.
Declaration
public KmlGeometry(Geometry geometry, KmlAltitudeMode altitudeMode, bool isExtruded)
Parameters
Type | Name | Description |
---|---|---|
Geometry | geometry | The Geometry used for creating the new KmlGeometry. |
KmlAltitudeMode | altitudeMode | The KmlAltitudeMode. Determines how altitude values should be interpreted. |
System.Boolean | isExtruded | If |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.6 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.6 - 200.6 |
Xamarin.Android | 100.6 - 100.15 |
Xamarin.iOS | 100.6 - 100.15 |
UWP | 100.6 - 200.6 |
KmlGeometry(Geometry, KmlAltitudeMode, Boolean, Boolean)
Initializes a new instance of the KmlGeometry class using geometry, an altitude mode, and flags.
Declaration
public KmlGeometry(Geometry geometry, KmlAltitudeMode altitudeMode, bool isExtruded, bool isTessellated)
Parameters
Type | Name | Description |
---|---|---|
Geometry | geometry | The Geometry used for creating the new KmlGeometry. |
KmlAltitudeMode | altitudeMode | The KmlAltitudeMode. Determines how altitude values should be interpreted. |
System.Boolean | isExtruded | If |
System.Boolean | isTessellated | If |
Remarks
Polyline, polygon, and track geometries can be tessellated. Extrusion is ignored when the altitude mode is set to ClampToGround, or when the geometry is a KmlModel.
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.6 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.6 - 200.6 |
Xamarin.Android | 100.6 - 100.15 |
Xamarin.iOS | 100.6 - 100.15 |
UWP | 100.6 - 200.6 |