Show / Hide Table of Contents

Class KmlStyle

Specifies the drawing style for a KmlNode.

Inheritance
System.Object
KmlStyle
Implements
System.ComponentModel.INotifyPropertyChanged
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
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 sealed class KmlStyle : INotifyPropertyChanged
Remarks

Controls the drawing style for the icon, line, polygon, and/or label of a KmlNode. A style is made up several sub-styles including a KmlIconStyle, a KmlLineStyle, a KmlPolygonStyle, and/or a KmlLabelStyle.

Not all node types support styling. For example, a KmlTour node cannot be stylized.

Constructors

Name Description
KmlStyle()

Initializes a new instance of the KmlStyle class.

Properties

Name Description
IconStyle

Gets or sets the style that specifies how point KmlPlacemarks are drawn.

LabelStyle

Gets or sets the style that specifies how KmlPlacemark labels are drawn.

LineStyle

Gets or sets the style that specifies how lines are drawn.

PolygonStyle

Gets or sets the style that specifies how polygons are drawn.

Events

Name Description
PropertyChanged

Applies to

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.