interface MeasureOptions {
    continueMsg?: Element;
    decimals?: number;
    precision?: number;
    sketchStyle?: StyleLike;
    source?: VectorSource<unknown>;
    startMsg?: Element;
    style?: StyleLike;
    tolerance?: number;
}

Properties

continueMsg?: Element

Element including the message to display in the help tooltip when the user already added the first point.

decimals?: number

Defines the number of decimals to keep in the measurement. If not defined, then the default behavior occurs depending on the measure type.

precision?: number

Defines the number of digits to keep in the measurement. If not defined, then the default behavior occurs depending on the measure type.

sketchStyle?: StyleLike

The style to be used while drawing.

source?: VectorSource<unknown>

The source.

startMsg?: Element

Element including the message to display in the help tooltip when the user just activated the interaction.

style?: StyleLike

The style to be used when drawing is finished.

tolerance?: number

Defines the tolerance.