Class KmlStyle
Specifies the drawing style for a KmlNode.
Implements
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 | Occurs when a property value changes. |
Applies to
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.6 - 200.8 |
| .NET | 100.13 - 300.0 |
| .NET Windows | 100.13 - 300.0 |
| .NET Android | 200.0 - 300.0 |
| .NET iOS | 200.0 - 300.0 |
| .NET Framework | 100.6 - 200.8 |
| Xamarin.Android | 100.6 - 100.15 |
| Xamarin.iOS | 100.6 - 100.15 |
| UWP | 100.6 - 200.8 |
Relevant samples
Create and save KML file: Construct a KML document and save it as a KMZ file.