AltitudeMode

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


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

Summary

Constants

static final int

Absolute altitude mode.

static final int

Clamped to ground altitude mode.

static final int

Relative to ground altitude mode.

static final int

Relative to mesh altitude mode.

Constants

ABSOLUTE

public static final int ABSOLUTE = 1

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

CLAMP_TO_GROUND

public static final int CLAMP_TO_GROUND = 2

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

RELATIVE_TO_GROUND

public static final int RELATIVE_TO_GROUND = 3

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

public static final int RELATIVE_TO_MESH = 4

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