moveToward method

Camera moveToward({
  1. required ArcGISPoint targetPoint,
  2. 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.
  • distance — The distance in meters the output camera will be moved.

Return Value: A copy of the camera with the position moved