OptionalcolorMarker + line color. Default yellow.
OptionalenabledCreate the measurement tool. Default false. Note: this only builds the tool (and its label
overlay); start measuring by calling measureTool.setEnabled(true) on the init result.
OptionalformatFormat the measurement → label text. Receives the straight-line distance and per-axis delta.
Default renders the total plus a Δx/Δy/Δz breakdown.
OptionallabelCSS class for the distance label.
OptionalsnapSnap to a vertex within this many screen px. Default 12.
Two-click distance measurement tool. See
createMeasureTool.