Show / Hide Table of Contents

Constructor KmlPlacemark

KmlPlacemark()

Initializes a new instance of the KmlPlacemark class as a non-spatial placemark.

Declaration
public KmlPlacemark()

Applies to

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

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

geometry is null.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.6 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.6 - 200.7
Xamarin.Android100.6 - 100.15
Xamarin.iOS100.6 - 100.15
UWP100.6 - 200.7
Relevant samples
Create and save KML file: Construct a KML document and save it as a KMZ file.
In This Article
Back to top Copyright © 2022 Esri.