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

`maps.contour` (spec/13 §6.6), a map layer: the `contour` step's rings over a grid of
values spanning `bounds` (`[west, south, east, north]`), answered as geometries in
degrees and projected through the map's projection (`projection(field: "geometry")`),
each filled by its threshold through `contour.color`, a `sequential` scale, with its
titled legend outside the map's right. Copied from the gallery's contour plot
(`examples/lib/examples/charts/contour_plot.ex`).

    iex> Macaw.Frame.Maps.Contour.id()
    "maps.contour"

# `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): two hills of a 24 × 16 grid over central Europe, the cities over it.

# `fragment`

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

The fragment: contour, then projection, under one path layer.

# `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 §6.6).

# `slots`

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

Its slot: `grid`, a `value` per cell in row-major order.

---

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