Skip to main content

getUnit()

getUnit(): number

Gets and sets the unit to be used for route report calls. If set, this unit will be used for conversions

Returns

number

unit.

Example

TrimbleMaps.UNIT = Common.Unit.ENGLISH;
Last updated August 23, 2024.