Arbitrary data attributes.
NOTE: The component may use data properties for its own behavior. Make sure not to overwrite required attributes.
OptionalactiveThe style for the active drawing feature's geometry.
OptionalfinishedThe style for the finished drawn feature's geometry.
OptionalmapThe map model to use.
OptionalonEvent handler that is called whenever a measurement is added or removed.
OptionalpredefinedMeasurement geometries that are rendered in addition to the measurements drawn by the user.
The measurements are re-applied whenever the array changes, so keep the array stable
(for example with useMemo) to avoid needless updates.
Properties supported by the Measurement component.