Default control position.
The current mesh snap radius in CSS px.
MapLibre IControl hook — builds the DOM and wires the draw controller.
MapLibre IControl hook — full teardown.
Set the bulk density (t/m³) used for the tonnes Volume unit.
Fold the panel to its round FAB (or expand it back). Safe before map.addControl —
the state is remembered and applied when the DOM is built.
Toggle the Volume fill map (heatmap + contours) on/off.
Set the mesh snap radius (CSS px) live — 0 = exact point-shot (see the option's doc).
Switch the Volume readout's unit (independent of the metric/imperial length toggle).
An embeddable, framework-agnostic MapLibre 3D measurement control (a
maplibregl.IControl) with three modes:Vertices placed before a terrain DEM tile streamed are re-sampled automatically on the map's next
'idle'. On every change the widget dispatches a DOMCustomEvent('measurechange', { detail: MeasurementResult, bubbles: true }).Example
See
MeasurementWidgetOptions for the configuration fields.