Options to configure the MapNavigatorConstraints.above constraint. Note that for 3D cartesian maps, the above constraint is always disabled, regardless of the settings.

Hierarchy

  • AboveConstraintOptions

Properties

mesh?: boolean

Defines whether or not the camera must stay above a mesh in the scene. The default value is false.

minAltitude?: number

The minimum altitude the camera should stay above the terrain and/or mesh.

terrain?: boolean

Defines whether or not the camera must stay above the terrain. The default value is true, except for 3D cartesian maps where it is false.