maps.hexbin (spec/13 §6.4), a map layer: the slot's points projected, then binned into
hexagons of a radius in pixels by the hexbin step, each cell filled by its count
through hexbin.color, a sequential scale over [0, auto], with its titled legend
inside the map's bottom left. The cells are in pixels, so a view change bins again.
Copied from the gallery's hexbin chart (examples/lib/examples/charts/hexbin_chart.ex).
iex> Macaw.Frame.Maps.Hexbin.id()
"maps.hexbin"
Summary
Functions
What it draws, for a person and a builder's library.
Its fixture (spec/14 §1): sightings clustered about the cities.
The fragment: projection, then hexbin, under one path layer.
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 §6.4).
Its slot: points, a longitude and a latitude, and an optional weight.
Functions
@spec doc() :: String.t()
What it draws, for a person and a builder's library.
@spec fixtures() :: [map()]
Its fixture (spec/14 §1): sightings clustered about the cities.
@spec fragment() :: map()
The fragment: projection, then hexbin, under one path layer.
@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 §6.4).
Its slot: points, a longitude and a latitude, and an optional weight.