Constructor KmlIconStyle
KmlIconStyle(KmlIcon, Double)
Initializes a new instance of the KmlIconStyle class.
Declaration
public KmlIconStyle(KmlIcon icon, double scale)
Parameters
| Type | Name | Description |
|---|---|---|
| KmlIcon | icon | Optional icon for drawing the point placemarks. |
| System.Double | scale | Scale of the icon. |
Remarks
A null icon will result in the default yellow pushpin icon
being used. An icon with an incorrect or inaccessible URI will result in a red cross
icon being used.
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.6 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .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.