moveToward method
- required ArcGISPoint targetPoint,
- required double distance,
Creates a copy of the camera with the camera moved in the direction of a target point by the specified distance.
Parameters:
targetPoint— 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.
Return Value: A copy of the camera with the position moved