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 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.6 - 200.6 |
Xamarin.Android | 100.6 - 100.15 |
Xamarin.iOS | 100.6 - 100.15 |
UWP | 100.6 - 200.6 |
Relevant samples
Edit KML ground overlay: Edit the values of a KML ground overlay.