Constructor KmlPlacemark
KmlPlacemark()
Initializes a new instance of the KmlPlacemark class as a non-spatial placemark.
Declaration
public KmlPlacemark()
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.6 |
.NET | 200.6 |
.NET Windows | 200.6 |
.NET Android | 200.6 |
.NET iOS | 200.6 |
.NET Framework | 200.6 |
UWP | 200.6 |
KmlPlacemark(KmlGeometry)
Initializes a new instance of the KmlPlacemark class, with the given KML geometry.
Declaration
public KmlPlacemark(KmlGeometry geometry)
Parameters
Type | Name | Description |
---|---|---|
KmlGeometry | geometry | Geometry to use for the new placemark. |
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
Create and save KML file: Construct a KML document and save it as a KMZ file.