rotateAround method

Camera rotateAround({
  1. required ArcGISPoint targetPoint,
  2. required double deltaHeading,
  3. required double deltaPitch,
  4. required double deltaRoll,
})

Creates a copy of the camera with the heading and pitch rotated from a specified target point by the delta angles in degrees.

Parameters:

  • targetPoint — The point location around which the camera will move.
  • deltaHeading — The delta angle in degrees by which the output camera heading will be rotated around the target point.
  • deltaPitch — The delta angle in degrees by which the output camera pitch will be rotated around the target point.
  • deltaRoll — The delta angle in degrees by which the output camera roll will be rotated around the target point.

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