Preparing search index...
The search index is not available
HarmonyNEXT地图SDK
HarmonyNEXT地图SDK
util
DistanceUtil
Class DistanceUtil
测距工具
Index
Constructors
constructor
Methods
get
Distance
get
Distance
By
Path
Constructors
constructor
new
Distance
Util
(
)
:
DistanceUtil
Returns
DistanceUtil
Methods
Static
get
Distance
get
Distance
(
p1ll
,
p2ll
)
:
number
返回两个点之间的距离
Parameters
p1ll
:
LatLng
p2ll
:
LatLng
Returns
number
两点距离,单位为: 米,转换错误时返回-1.
Static
get
Distance
By
Path
get
Distance
By
Path
(
ll
)
:
number
返回序列点间的距离之和
Parameters
ll
:
LatLng
[]
{Array
} 序列坐标点
Returns
number
Settings
Theme
OS
Light
Dark
On This Page
constructor
get
Distance
get
Distance
By
Path
HarmonyNEXT地图SDK
Loading...
测距工具