UNPKG
@spatial/along
Version:
latest (2.0.0)
2.0.0
1.0.5
1.0.4
1.0.3
turf along module
github.com/Turfjs/turf
Turfjs/turf
@spatial/along
/
index.d.ts
13 lines
(11 loc)
•
268 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
import
{
Feature
,
Units
,
LineString
,
Point
}
from
'@spatial/helpers'
;
/** * http://turfjs.org/docs/#along */
export
default
function
(
line: Feature<LineString> | LineString, distance: number, options?: { units?: Units; }
):
Feature
<
Point
>;