UNPKG
@spatial/great-circle
Version:
latest (2.0.0)
2.0.0
1.0.5
1.0.4
1.0.3
turf great-circle module
github.com/Turfjs/turf
Turfjs/turf
@spatial/great-circle
/
index.d.ts
15 lines
(13 loc)
•
322 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import
{
LineString
,
Feature
,
Coord
,
Properties
}
from
'@spatial/helpers'
/** * http://turfjs.org/docs/#greatcircle */
export
default
function
greatCircle
(
start
:
Coord
,
end
:
Coord
,
options
?: { properties?: Properties, npoints?:
number
, offset?:
number
}
):
Feature
<
LineString
>;