Show / Hide Table of Contents

Constructor KmlGroundOverlay

KmlGroundOverlay(Geometry, KmlIcon)

Initializes a new instance of the KmlGroundOverlay class.

Declaration
public KmlGroundOverlay(Geometry geometry, KmlIcon icon)
Parameters
Type Name Description
Geometry geometry

The ground overlay's geometry.

KmlIcon icon

The optional ground overlay icon. May be null.

Remarks

The specified geometry must be either an Envelope or a Polygon with exactly 4 points. Other geometry types are not supported.

Exceptions
Type Condition
System.ArgumentNullException

geometry is null.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.6 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.6 - 200.7
Xamarin.Android100.6 - 100.15
Xamarin.iOS100.6 - 100.15
UWP100.6 - 200.7
Relevant samples
Edit KML ground overlay: Edit the values of a KML ground overlay.
In This Article
Back to top Copyright © 2022 Esri.