@mapgear/geoapps-core > UnitsHelper > FormatArea
UnitsHelper.FormatArea() method
Auto-format the area in metric units, automatically determining the use of km2, ha or m2
Signature:static FormatArea(area: number): string;
Parameters
Parameter | Type | Description |
---|---|---|
area | number | Area in meters |
string
Formatted string of the area with unit (e.g. 2.5 ha)