AltitudeMode

@Retention(value = RetentionPolicy.SOURCE)
@IntDef(value = [AltitudeMode.ABSOLUTE, AltitudeMode.CLAMP_TO_GROUND, AltitudeMode.RELATIVE_TO_GROUND, AltitudeMode.RELATIVE_TO_MESH])
annotation AltitudeMode


Enumeration of possible altitude modes: absolute, relative to ground, relative to mesh, or clamped to ground.

Summary

Constants

const Int

Absolute altitude mode.

const Int

Clamped to ground altitude mode.

const Int

Relative to ground altitude mode.

const Int

Relative to mesh altitude mode.

Constants

ABSOLUTE

const val ABSOLUTE = 1: Int

Absolute altitude mode. The altitude value is used directly. This is the default altitude mode.

CLAMP_TO_GROUND

const val CLAMP_TO_GROUND = 2: Int

Clamped to ground altitude mode. The altitude value is clamped to the ground. This is the default altitude mode for markers.

RELATIVE_TO_GROUND

const val RELATIVE_TO_GROUND = 3: Int

Relative to ground altitude mode. The altitude value is relative to the ground. This is the default altitude mode for models and polylines.

RELATIVE_TO_MESH

const val RELATIVE_TO_MESH = 4: Int

Relative to mesh altitude mode. The altitude value is relative to the mesh. This is the default altitude mode for polygons.