# PositionAnchor

> **PositionAnchor** = `"center"` | `"top"` | `"bottom"` | `"left"` | `"right"` | `"top-left"` | `"top-right"` | `"bottom-left"` | `"bottom-right"`

Defined in: [ui/anchor.ts:5](<https://github.com/maplibre/maplibre-gl-js/blob/538a7680ab16d5cf5a6564ee0ce72a11be14d142/src/ui/anchor.ts#L5>)

Where to position the anchor. Used by a popup and a marker.
