Architecture decision record · ADR-0010

Clusters, draw, deck.gl and hexagons

<map.Cluster> is in @meridian-ts/ember.

Status
Proposed
Deciders
Joe Gaudet
Created
Updated
PRD
PRD
Related
None

Context

The user wants point clusters, draw and edit, a deck.gl overlay and H3 hexagon clusters in 1.0. Draw and deck.gl have large peer libraries.

Decision drivers

Not recorded in the original ADR.

Options considered

Not recorded in the original ADR.

Decision

  • <map.Cluster> is in @meridian-ts/ember. It uses the MapLibre GeoJSON cluster feature and has no new dependency.
  • @meridian-ts/draw wraps terra-draw.
  • @meridian-ts/deck wraps deck.gl MapboxOverlay with <map.Deck> and <deck.Layer>.
  • <deck.HexCluster> puts points in H3 cells with h3-js and renders a deck.gl H3HexagonLayer. The resolution follows the zoom.

Consequences

  • An application with no draw or deck.gl feature does not install those libraries.
  • Hexagon clusters need deck.gl.

Confirmation

Not recorded in the original ADR.

Interview record

Each question of the interview with its answer and its source. A fact from the code or a document, a question that the author did not ask, and an assumption are rows too.

QuestionAnswerSource
Where does the text of this page come from?From the Markdown file docs/adr/0010-extras.md at commit ece53da. The text of each section is the text of the Markdown file. A section that the Markdown file does not have says so.Document: docs/adr/0010-extras.md

Changelog

DateAuthorChange
2026-12-02Joe GaudetStatus in the Markdown file: Proposed (plan, 2026-12-02). M0 confirms it.
2026-12-02Joe GaudetCommit bca5c8f: Add the plan and the decisions for Meridian
2026-12-04Joe Gaudet (agent)Converted from docs/adr/0010-extras.md to this page. The text is the text of the Markdown file.

The adr skill of skillsaw wrote this page. The HTML in this file is the source of truth. The diagrams are the Mermaid sources in it.