UNPKG
@tuoyuan/map-adapter-lib
Version:
latest (2.0.12)
2.0.12
2.0.11
2.0.10
2.0.9
2.0.8
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
地图适配器库
@tuoyuan/map-adapter-lib
/
dist
/
types
/
utils
/
get-distance.d.ts
12 lines
(11 loc)
•
259 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
interface
ILikePoint
{
/** 经度 */
readonly
longitude
:
number
;
/** 纬度 */
readonly
latitude
:
number
; }
/** * 计算两个坐标的距离 */
export
declare
function
getDistance
(
point1
:
ILikePoint
,
point2
:
ILikePoint
):
number
;
export
{};