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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.6 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.6 - 200.5 |
Xamarin.Android | 100.6 - 100.15 |
Xamarin.iOS | 100.6 - 100.15 |
UWP | 100.6 - 200.5 |
Relevant samples
Create and save KML file: Construct a KML document and save it as a KMZ file.