@mapgear/geoapps-core > UnitsHelper
UnitsHelper class
Helper class to format and convert between units
Signature:export declare class UnitsHelper
Methods
Method | Modifiers | Description |
---|---|---|
FormatArea(area) | static | Auto-format the area in metric units, automatically determining the use of km2, ha or m2 |
FormatLength(line) | static | Auto-format the length in metric units, and determine automatically whether to use meters or kilometers |