Show / Hide Table of Contents

Class KmlGeometry

A KML geometry object.

Inheritance
System.Object
KmlGeometry
KmlModel
KmlMultiGeometry
KmlMultiTrack
KmlTrack
Implements
System.IEquatable<KmlGeometry>
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Esri.ArcGISRuntime.Ogc
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class KmlGeometry : IEquatable<KmlGeometry>
Remarks

A KML geometry contains all the KML-specific information associated with a Geometry.

Constructors

Name Description
KmlGeometry(Geometry, KmlAltitudeMode)

Initializes a new instance of the KmlGeometry class using a geometry and an altitude mode.

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.

KmlGeometry(Geometry, KmlAltitudeMode, Boolean, Boolean)

Initializes a new instance of the KmlGeometry class using geometry, an altitude mode, and flags.

Properties

Name Description
AltitudeMode

Gets the KML altitude mode.

Geometry

Gets the Geometry contained by the KML geometry.

IsExtruded

Gets a value indicating whether the geometry is extruded.

IsTessellated

Gets a value indicating whether the geometry is tessellated. Tessellated geometry can follow the terrain.

Type

Gets the KML geometry type.

Methods

Name Description
Equals(KmlGeometry)
Equals(Object)
GetHashCode()

Applies to

TargetVersions
.NET Standard 2.0100.4 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.4 - 200.7
Xamarin.Android100.4 - 100.15
Xamarin.iOS100.4 - 100.15
UWP100.4 - 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.