Show / Hide Table of Contents

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

uri is null.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.6 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.6 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.6 - 100.15
Xamarin.iOS100.6 - 100.15
UWP100.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.
In This Article
Back to top Copyright © 2022 Esri.