Skip to content

Roadmap

What does not fully work yet in MaplibreX 0.8.0, the latest release on Hex, which this demo runs. Every status that is not stable links to the library issue that explains it.

Statuses

Stable
Works as documented. (38 components)
Limited
Works, but an open issue documents a part of its behaviour that does not. (0 components)
Planned
Cannot be used yet; its issue tracks the fix. (0 components)

Limited and planned components

None: every component works as documented in the version this demo runs.

Fixed in 0.8.0

MaplibreX 0.8.0 helps read the map: a legend that says what its colours mean and hides and shows layers, a layer switcher for the base map and the layers, each polygon's name inside it from label points, and clusters drawn as HTML. One change asks for code: <.draw events={:all}> pushes draw:started, draw:cancelled and draw:mode_changed too. It is published on Hex.

  • label_points on <.geojson_layer> keeps one point well inside each polygon, in a source of its own, "<id>-labels", so that a <.symbol_layer> draws each polygon's name once and inside it. #174

  • <.legend> says, in a corner of the map, what its colours and symbols mean: items drawn as a square, a circle, a line or content of their own, and gradients. An item with layers hides and shows them, and collapsible folds the legend. #177

  • A :cluster_marker slot draws the clusters of a <.geojson_layer cluster> as HTML of the application's own, filled in the browser from each cluster's properties: a count, a badge, a pie drawn with CSS. #194

  • <.draw events={:all}> pushes draw:started, draw:cancelled and draw:mode_changed too. This asks for code: a LiveView that uses :all adds a clause for each of the three. One that names its events, as the demo's draw example does, sees no change. #202

  • <.layer_switcher> lets the user choose the base map, a style of the map, and turn overlays of layers on and off, in groups, and can remember the choice in the browser. A new style from the LiveView wins over the base the user chose. #206

  • A <.control_button>, or a focused element inside a <.control> or a <.control_group>, keeps the keyboard focus when LiveView patches it. #212

  • A <.geojson_layer> whose features have ids no longer goes on drawing an earlier version of its data after changes that come in quick succession, and neither does a <.trail> whose marker or points jump.

All open issues of the library