Show / Hide Table of Contents

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
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.0 - 200.8
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.8
In This Article
Back to top Copyright © 2022 Esri.