Skip to main content

@mapgear/geoapps-core > UnitsHelper

UnitsHelper class

Helper class to format and convert between units

Signature:
export declare class UnitsHelper 

Methods

MethodModifiersDescription
FormatArea(area)staticAuto-format the area in metric units, automatically determining the use of km2, ha or m2
FormatLength(line)staticAuto-format the length in metric units, and determine automatically whether to use meters or kilometers