moveToward

fun moveToward(targetPoint: Point, distance: Double): Camera

Creates a copy of the camera with the camera moved in the direction of a target point by the specified distance.

Return

A copy of the camera with the position moved

Since

200.1.0

Parameters

targetPoint

The point location towards which the camera will move.

distance

The distance in meters the output camera will be moved.

See also

Throws

if targetPoint is empty