Methods
Measurement
getMeasureSettings
Returns the current measure tool settings.
The measure tool settings.
Type |
---|
Object |
The default unit for measurements is meters.
Properties
Name | Type | Description |
---|---|---|
appendMeasures | Boolean | Replaces existing measures when using addMeasure method |
conversionFactor | Number | Conversion factor applied to measure values |
decimals | Number | Number of decimals displayed for measure values |
labelMode | String | Position of measure label |
labelMode
The following label modes are available:
- pointDistance
- segmentLength
- segmentIndex
Updated 13 Sep 2024
Did this page help you?