moveTo

fun moveTo(location: Point): Camera

Creates a copy of the camera with a new location.

Return

A copy of the camera with the location changed.

Since

200.1.0

Parameters

location

The location to move the output camera to. 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.

See also

Throws

if location is empty