move Toward
Creates a copy of the camera with the camera moved in the direction of a target point by the specified distance.
Return
A copy of the camera with the position moved
Since
200.1.0
Parameters
target Point
The point location towards which the camera will move. The returned camera is in the same spatial reference as the source camera. If the spatial reference of the point is not specified, it is assumed to be the spatial reference of the camera.
distance
The distance in meters the returned camera should move towards the target point.
See also
Throws
if targetPoint is empty