getRectangleCameraCoordinates

fun getRectangleCameraCoordinates(rectangle: Rectangle, result: Cartesian3? = definedExternally): Cartesian3(source)

Get the camera position needed to view a rectangle on an ellipsoid or map

Return

The camera position needed to view the rectangle

Parameters

rectangle

The rectangle to view.

result

The camera position needed to view the rectangle

See also