maps.map (spec/13 §6.1): a clipped geographic frame of its projection, fitted with a
padding and a minimum span to the slot its fit parameter names, panning into the box
window, drawing nothing of its own until map layers (the :layers fragments of
Macaw.Frame.Maps) are stacked into it at its use site. Copied from the gallery's map
frames (examples/lib/examples/charts/world_map.ex, day_night_gps.ex,
marathon.ex): their geographic frame, its projection and the surface ocean.
A map has no legend of its own, so of §3's parameters it takes title, description,
show_title and margin; a stacked layer brings its legend.
iex> Macaw.Frame.Maps.Map.id()
"maps.map"
Summary
Functions
What it draws, for a person and a builder's library.
Its fixture (spec/14 §1): a map fitted to a few European cities, drawn as points.
The fragment: the geographic frame, its fit and its pan.
The fragment's id in the catalog store.
What the fragment is: a whole design, or layers placed in one.
Its namespace (spec/13 §2).
Its parameters (spec/13 §3, §6.1).
The projection names a map's projection parameter takes.
Its slots: none of its own; a stacked layer brings its slot.
Functions
@spec doc() :: String.t()
What it draws, for a person and a builder's library.
@spec fixtures() :: [map()]
Its fixture (spec/14 §1): a map fitted to a few European cities, drawn as points.
@spec fragment() :: map()
The fragment: the geographic frame, its fit and its pan.
@spec id() :: String.t()
The fragment's id in the catalog store.
@spec kind() :: :design | :layers
What the fragment is: a whole design, or layers placed in one.
@spec namespace() :: :charts | :maps | :diagrams
Its namespace (spec/13 §2).
Its parameters (spec/13 §3, §6.1).
@spec projections() :: [String.t(), ...]
The projection names a map's projection parameter takes.
Its slots: none of its own; a stacked layer brings its slot.