Viewpoint

constructor(boundingGeometry: Geometry, camera: Camera)

Create a viewpoint with a bounding extent and a Camera.

Since

200.1.0

See also


constructor(center: Point, scale: Double, camera: Camera)

Creates a viewpoint with center point, scale, and Camera.

Since

200.1.0

See also


constructor(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

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.

See also


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

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

Since

200.1.0

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.

See also


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

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

Since

200.1.0

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.

See also