Show / Hide Table of Contents

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.

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
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.15
Relevant samples
Create and save KML file: Construct a KML document and save it as a KMZ file.
In This Article
Back to top Copyright © 2022 Esri.