# Type Alias ElevationModeJsonType

ElevationModeJsonType:
| "onTheGround"
| "relativeToGround"
| "relativeToScene"
| "absoluteHeight"

Defines how the graphic is placed with respect to the terrain surface.

- "onTheGround"

  Graphics are draped on the terrain surface. This is the default value for features with Polyline or Polygon geometries and features with Point geometries rendered with ObjectSymbol3DLayers.

- "relativeToGround"

  The graphic is placed at a specified height/elevation above the ground. This elevation is determined by adding the value of offset to the elevation of the terrain surface. This is the default value for Point geometries rendered with IconSymbol3DLayers.

- "relativeToScene"

  Graphics are placed at an absolute height relative to the datum. The absolute height is determined by each feature's z value. This mode works like relative-to-ground with the difference that terrain elevation is discarded.

- "absoluteHeight"

  Graphics are placed at an absolute height above sea level. This height is determined by the value of offset and doesn't take the elevation of the terrain into account. This is the default value of features with any geometry type where hasZ is true.