> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ploterr.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ElevationMarker

> A marker in the plan that shows where an elevation looks from.

## Import

```typescript theme={null}
import { ElevationMarker } from '@opengeometry/floorkit';
```

**Inheritance:** `extends OPElement implements IShape, IPlaceable`

## Constructor

```typescript theme={null}
constructor(config?: Partial<ElevationMarkerOptions>);
```

<ParamField path="config.datumType" type="DatumType.ELEVATION_MARKER" />

<ParamField path="config.position" type="[number, number, number]">
  World-space placement of the marker on the XZ plane.
</ParamField>

<ParamField path="config.direction" type="[number, number] | CardinalDirection">
  View direction — either a cardinal preset or an explicit unit vector on the XZ plane.
</ParamField>

<ParamField path="config.cluster" type="boolean">
  Render four markers 90° apart (one per cardinal) sharing a single centre, matching the standard
  four-arrow elevation symbol.
</ParamField>

<ParamField path="config.head" type="ElevationHeadLabel">
  Head labels shown inside the bubble.
</ParamField>

<ParamField path="config.linkedViewId" type="string">
  Identifier of the elevation view this marker generates.
</ParamField>

<ParamField path="config.bubbleRadius" type="number">
  Outer radius of the bubble in world units.
</ParamField>

<ParamField path="config.ogid" type="string" />

<ParamField path="config.labelName" type="string" />

<ParamField path="config.color" type="number">
  Line / symbol colour. Defaulted per subtype when omitted.
</ParamField>

<ParamField path="config.lineWidth" type="number">
  Line weight for the datum's 2D representation.
</ParamField>

<ParamField path="config.visibility" type="DatumVisibility">
  Whether this datum is shown in plan / model views.
</ParamField>

## Properties

<ResponseField name="ogid" type="string" />

<ResponseField name="ogType" type="string" />

<ResponseField name="subElements2D" type="Map<string, THREE.Object3D>" />

<ResponseField name="subElements3D" type="Map<string, THREE.Object3D>" />

<ResponseField name="selected" type="boolean" />

<ResponseField name="edit" type="boolean" />

<ResponseField name="locked" type="boolean" />

<ResponseField name="onDatumUpdated" type="Event<null>" />

<ResponseField name="propertySet" type="ElevationMarkerOptions" />

<ResponseField name="labelName" type="string" />

<ResponseField name="datumType" type="DatumType">
  Read-only.
</ResponseField>

<ResponseField name="profileView" type="boolean" />

<ResponseField name="modelView" type="boolean" />

## Methods

### editableSchema

```typescript theme={null}
static editableSchema(): OPEditableSchema;
```

### move

```typescript theme={null}
move(delta: Vec3): void;
```

Translate this element by `delta` (world-space, meters).

### rotate

```typescript theme={null}
rotate(angleDeg: number, axis?: Vec3, anchor?: Vec3): void;
```

Rotate this element by `angleDeg` around `axis` (default Y-up), pivoted at `anchor` (default the element's own centroid).

### setOPConfig

```typescript theme={null}
setOPConfig(config: Partial<ElevationMarkerOptions>): void;
```

### getOPConfig

```typescript theme={null}
getOPConfig(): ElevationMarkerOptions;
```

### getEditAnchors

```typescript theme={null}
getEditAnchors(): EditAnchor[];
```

A single handle for the marker `position`, free on the floor plane.

### applyEditAnchor

```typescript theme={null}
applyEditAnchor(id: string, position: [
    number,
    number,
    number
]): void;
```

### setOPMaterial

```typescript theme={null}
setOPMaterial(): void;
```

### setOPGeometry

```typescript theme={null}
setOPGeometry(): void;
```

## Types

### ElevationMarkerOptions

```typescript theme={null}
interface ElevationMarkerOptions extends DatumOptionsBase {
  datumType: DatumType.ELEVATION_MARKER;
  position: [number, number, number];
  direction: CardinalDirection | [number, number];
  cluster: boolean;
  head: ElevationHeadLabel;
  linkedViewId?: string;
  bubbleRadius: number;
}
```

### CardinalDirection

```typescript theme={null}
type CardinalDirection = 'N' | 'S' | 'E' | 'W';
```

### ElevationHeadLabel

```typescript theme={null}
interface ElevationHeadLabel {
  drawingNumber: string;
  sheetNumber: string;
}
```

## Related

* [`OPElement`](/floorkit/api/architecture/op-element)
* [`DatumOptionsBase`](/floorkit/api/datums/level#datumoptionsbase)
* [`DatumType`](/floorkit/api/datums/datum-defaults#datumtype)
* [`EditAnchor`](/floorkit/api/architecture/op-element#editanchor)
* [`Event`](/floorkit/api/architecture/wall-network#event)
* [`IPlaceable`](/floorkit/api/architecture/op-element#iplaceable)
* [`IShape`](/floorkit/api/shapes/cuboid-shape#ishape)
* [`OPEditableSchema`](/floorkit/api/architecture/op-element#opeditableschema)
* [`Vec3`](/floorkit/api/architecture/wall#vec3)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.