# Marker

<img src="/icons/marker.png" alt="" width="48" height="48" class="ow-type-icon" />

A Marker is a special Map element. Groups of Markers, each at a specific coordinate, together designate a Zone in the world. Zones can be either lines or polygons (through the Zone's `shape` field).

Markers are for painting the Zones of your world. They interact with:

- **Maps** (Markers exist on only one map at a time)
- **Zones** (A Zone's Markers, joined in their `order`, draw it)

They are distinct from:

- **Pins** (which locate an element at a specific coordinate on a Map)

<!-- generated:fields (scripts/gen_elements.py rewrites everything below this line) -->

## Fields

Drawn with the other element types: [what Marker links to](/docs/schema/?kind=marker#what-links-to-what).

Integers are whole numbers: the API truncates a decimal, and a range is a display hint it does not enforce ([Field types](/docs/schema/fields#field-types)).

### Details

| Field | Type | Description |
|---|---|---|
| `map` | link to Map | Map this marker is placed on |
| `zone` | link to Zone | Zone that is defined by this marker |
| `x` | integer | x coordinate, from bottom left of the map |
| `y` | integer | y coordinate, from bottom left of the map |
| `z` | integer | z coordinate, in case of depth |
| `order` | integer | Sequence position when markers define a polygon or line (0 = first point); without it, markers keep the order they were made in |