Skip to content

Documentation / @geoverse/core-ol / formatArea

Function: formatArea()

ts
function formatArea(polygon): string;

Defined in: packages/core-ol/src/utils/format.ts:18

面要素面积的人类可读格式化:>10000m² 显示 km²,否则显示 m²

Parameters

polygon

Geometry

Returns

string