(abstract) new module:Measure([options]opt)
Interaction that allows measuring (length, area, ...).
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
[options] |
ngeo.interaction.MeasureBaseOptions= |
<optional> |
Options |
Extends
- ol.interaction.Interaction
Members
(nullable) continueMsg: Element
Message to show after the first point is clicked.
(protected) decimals: number|undefined
Defines the number of decimals to keep in the measurement. If not defined, then the default behaviour occurs depending on the measure type.
(protected) precision: number|undefined
Defines the number of precision to keep in the measurement. If not defined, then the default behaviour occurs depending on the measure type.
(protected) sketchFeature: ol.Feature
The sketch feature.
startMsg: Element
The message to show when user is about to start drawing.