Method MoveTo
MoveTo(MapPoint)
Returns a new Camera with a new center position. Location is the point in space where the camera is located. Setting the location can be done using this Method or establish the location as part of one of the Camera Constructors.
Declaration
public Camera MoveTo(MapPoint location)
Parameters
Type | Name | Description |
---|---|---|
MapPoint | location | The point in space where camera is located. |
Returns
Type | Description |
---|---|
Camera | Camera |
Remarks
A Camera object can literally be thought of as a camera that one would look through to see a viewable extent and perspective of the Earth. Depending on how you hold the camera and how far away from the ground will determine what you can see. These positions of holding the camera represent the various Properties that you can set on the Camera object.
The Location Property can be thought of physical position on/above the Earth that the camera is sitting when you look though it. To have a valid location for a camera, the MapPoint.X, MapPoint.Y, and MapPoint.Z Properties should all be set to have a valid 3D position. It is possible to have a MapPoint.Z elevation value be zero (0) and that would mean the camera is sitting directly on the surface of the Earth. The elevation Z value of the MapPoint is assumed to be in Meters. The Camera object assumes that MapPoint values are in the Latitude (Y) and Longitude (X) coordinate system.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |