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 |
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 |
|
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.15 |
Relevant samples
Edit KML ground overlay: Edit the values of a KML ground overlay.