@turf/along 7.1.0-alpha.7 → 7.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -12
- package/package.json +8 -7
package/README.md
CHANGED
|
@@ -8,11 +8,11 @@ Takes a [LineString][1] and returns a [Point][2] at a specified distance along t
|
|
|
8
8
|
|
|
9
9
|
### Parameters
|
|
10
10
|
|
|
11
|
-
* `line` **[Feature][3]<[LineString][
|
|
12
|
-
* `distance` **[number][
|
|
13
|
-
* `options` **[Object][
|
|
11
|
+
* `line` **[Feature][3]<[LineString][1]>** input line
|
|
12
|
+
* `distance` **[number][4]** distance along the line
|
|
13
|
+
* `options` **[Object][5]?** Optional parameters
|
|
14
14
|
|
|
15
|
-
* `options.units` **[string][
|
|
15
|
+
* `options.units` **[string][6]** can be degrees, radians, miles, or kilometers (optional, default `"kilometers"`)
|
|
16
16
|
|
|
17
17
|
### Examples
|
|
18
18
|
|
|
@@ -26,7 +26,7 @@ var along = turf.along(line, 200, options);
|
|
|
26
26
|
var addToMap = [along, line]
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
Returns **[Feature][3]<[Point][
|
|
29
|
+
Returns **[Feature][3]<[Point][2]>** Point `distance` `units` along the line
|
|
30
30
|
|
|
31
31
|
[1]: https://tools.ietf.org/html/rfc7946#section-3.1.4
|
|
32
32
|
|
|
@@ -34,15 +34,11 @@ Returns **[Feature][3]<[Point][8]>** Point `distance` `units` along the line
|
|
|
34
34
|
|
|
35
35
|
[3]: https://tools.ietf.org/html/rfc7946#section-3.2
|
|
36
36
|
|
|
37
|
-
[4]: https://
|
|
37
|
+
[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number
|
|
38
38
|
|
|
39
|
-
[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/
|
|
39
|
+
[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
|
|
40
40
|
|
|
41
|
-
[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/
|
|
42
|
-
|
|
43
|
-
[7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String
|
|
44
|
-
|
|
45
|
-
[8]: https://tools.ietf.org/html/rfc7946#section-3.1.2
|
|
41
|
+
[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String
|
|
46
42
|
|
|
47
43
|
<!-- This file is automatically generated. Please don't edit it directly. If you find an error, edit the source file of the module in question (likely index.js or index.ts), and re-run "yarn docs" from the root of the turf project. -->
|
|
48
44
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@turf/along",
|
|
3
|
-
"version": "7.1.0
|
|
3
|
+
"version": "7.1.0",
|
|
4
4
|
"description": "turf along module",
|
|
5
5
|
"author": "Turf Authors",
|
|
6
6
|
"license": "MIT",
|
|
@@ -63,12 +63,13 @@
|
|
|
63
63
|
"typescript": "^5.2.2"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@turf/bearing": "^7.1.0
|
|
67
|
-
"@turf/destination": "^7.1.0
|
|
68
|
-
"@turf/distance": "^7.1.0
|
|
69
|
-
"@turf/helpers": "^7.1.0
|
|
70
|
-
"@turf/invariant": "^7.1.0
|
|
66
|
+
"@turf/bearing": "^7.1.0",
|
|
67
|
+
"@turf/destination": "^7.1.0",
|
|
68
|
+
"@turf/distance": "^7.1.0",
|
|
69
|
+
"@turf/helpers": "^7.1.0",
|
|
70
|
+
"@turf/invariant": "^7.1.0",
|
|
71
|
+
"@types/geojson": "^7946.0.10",
|
|
71
72
|
"tslib": "^2.6.2"
|
|
72
73
|
},
|
|
73
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "68915eeebc9278bb40dec3f1034499698a0561ef"
|
|
74
75
|
}
|