# `Macaw.Frame.Maps.Route`
[🔗](https://github.com/dcoai/macaw_frame/blob/v0.1.0/lib/macaw/frame/maps/route.ex#L1)

`maps.route` (spec/13 §7.2), a second-cut map layer: a track's positions projected
(`projection(fields: [longitude, latitude])`) and drawn as one `line` in time order,
**broken where its readings are further apart than their continuity** (spec/04 §6: a
line over a projected track is placed by the slot's window field `t` and breaks on its
longitude's and latitude's continuity), with its newest reading as a `circle` (`head`).
A track with a declared identity draws one line per identity. A route is `maps.points`'
slot with a `line` instead (spec/13 §6.3); its positions are its `longitude` and
`latitude` roles, as `maps.points`' and the map's `fit` read. New in the second cut.

    iex> Macaw.Frame.Maps.Route.id()
    "maps.route"

# `doc`

```elixir
@spec doc() :: String.t()
```

What it draws, for a person and a builder's library.

# `fixtures`

```elixir
@spec fixtures() :: [map()]
```

Its fixture (spec/14 §1): a run along the Thames with a gap where the signal dropped.

# `fragment`

```elixir
@spec fragment() :: map()
```

The fragment: projection under a line and, at the newest reading, a circle.

# `id`

```elixir
@spec id() :: String.t()
```

The fragment's id in the catalog store.

# `kind`

```elixir
@spec kind() :: :design | :layers
```

What the fragment is: a whole design, or layers placed in one.

# `namespace`

```elixir
@spec namespace() :: :charts | :maps | :diagrams
```

Its namespace (spec/13 §2).

# `parameters`

```elixir
@spec parameters() :: [{String.t(), map()}]
```

Its parameters (spec/13 §7.2).

# `slots`

```elixir
@spec slots() :: %{required(String.t()) =&gt; map()}
```

Its slot: `track`, a longitude, a latitude, the window field `t` and an optional identity.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
