Constructor KmlIcon
KmlIcon(Uri)
Initializes a new instance of the KmlIcon class. Creates a KML icon from the provided path to an image file.
Declaration
public KmlIcon(Uri uri)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | uri | The location of the image file, either on disk or from the network. |
Remarks
KML icon defines the image associated with an overlay or an icon style.
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.6 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.2 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.6 - 200.5 |
Xamarin.Android | 100.6 - 100.14 |
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.
Edit KML ground overlay: Edit the values of a KML ground overlay.