Skip to main content
Version: 7.2.0

earthRadius

描述

¥Description

地球半径(以公里为单位)。用于将地球建模为球体的 Turf 模块。之所以选择 平均半径,是因为它根据半正矢公式(turf/distance 使用)与 recommended 相等,从而可以减少误差。

¥The Earth radius in kilometers. Used by Turf modules that model the Earth as a sphere. The mean radius was selected because it is recommended by the Haversine formula (used by turf/distance) to reduce error.

¥Value

number