Viewpoint

fun Viewpoint(boundingGeometry: Geometry, camera: Camera)

Create a viewpoint with a bounding extent and a Camera. The spatial reference of the target extent cannot be null.

Since

200.1.0

See also


fun Viewpoint(center: Point, scale: Double, camera: Camera)

Creates a viewpoint with center point, scale, and Camera. The spatial reference of the center point cannot be null.

Since

200.1.0

See also


fun Viewpoint(latitude: Double, longitude: Double, scale: Double, camera: Camera? = null)

Create a viewpoint with latitude, longitude, scale, and Camera. The spatial reference for the defined point is WGS84.

Since

200.1.0

See also

Parameters

latitude

The latitude coordinate for the viewpoint. Negative values are south of the equator.

longitude

The longitude coordinate for the viewpoint. Negative values are west of the prime meridian.

scale

The ratio between a distance on the map and the corresponding distance on the ground.

camera

A Camera object that defines the observer for the scene.


fun Viewpoint(boundingGeometry: Geometry, rotation: Double? = null, camera: Camera? = null)

Create a viewpoint with a bounding Geometry, rotation, and Camera.

Since

200.1.0

See also

Parameters

boundingGeometry

The geometry to use as the visible area.

rotation

The rotation angle in degrees between 0 and 360.

camera

A Camera object that defines the observer for the scene.


fun Viewpoint(center: Point, scale: Double, rotation: Double? = null, camera: Camera? = null)

Create a viewpoint with center point, scale, rotation, and Camera.

Since

200.1.0

See also

Parameters

center

The center of the visible area.

scale

The ratio between a distance on the map and the corresponding distance on the ground.

rotation

The rotation angle in degrees between 0 and 360.

camera

A Camera object that defines the observer for the scene.