Preparing search index...
The search index is not available
rvgeo
rvgeo
haversine
Function haversine
haversine
(
latlng1
,
latlng2
,
R
?
)
:
number
使用 haversine 公式计算球面两点之间的距离
Parameters
latlng1
:
[
number
,
number
]
latlng2
:
[
number
,
number
]
R
:
number
= 1
球体半径
Returns
number
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
rvgeo
colorListType
stretchType
Circle
Delaunator
Dijkstra
Evented
Geometry
GeometryCollection
Grid
LineString
MultiLineString
MultiPoint
MultiPolygon
Point
Polygon
QuadTree
Voronoi
CRS
GeoJSONFeature
GeoJSONFeatureCollection
GeoJSONGeometry
Loading...
Generated using
TypeDoc
使用 haversine 公式计算球面两点之间的距离