moveTo method

Camera moveTo({
  1. required ArcGISPoint location,
})

Creates a copy of the camera with a new location.

Parameters:

  • location — The location to move the output camera to.

Return Value: A copy of the camera with the location changed.