Method CreateWithViewpoint
CreateWithViewpoint(Viewpoint)
Creates a KML viewpoint from a Viewpoint.
Declaration
public static KmlViewpoint CreateWithViewpoint(Viewpoint viewpoint)
Parameters
Type | Name | Description |
---|---|---|
Viewpoint | viewpoint | The viewpoint. |
Returns
Type | Description |
---|---|
KmlViewpoint | A newly-created KmlViewpoint. |
Remarks
KML viewpoint defines either a look-at point or a camera, whereas a Viewpoint must always have a look-at point, and optionally also have a camera. A viewpoint that has a camera will create a KML viewpoint of type Camera. A viewpoint that has no camera will create a KML viewpoint of type LookAt.
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.6 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.6 - 200.5 |
Xamarin.Android | 100.6 - 100.15 |
Xamarin.iOS | 100.6 - 100.15 |
UWP | 100.6 - 200.5 |