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 |
---|---|---|
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 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.6 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.6 - 100.15 |
Xamarin.iOS | 100.6 - 100.15 |
UWP | 100.6 - 100.14 |
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.