@turf/point-to-line-distance
Advanced tools
Comparing version 7.1.0-alpha.7 to 7.1.0-alpha.70
@@ -14,3 +14,3 @@ import { Feature, LineString } from 'geojson'; | ||
* (ex: degrees, radians, miles, or kilometers) | ||
* @param {string} [options.method="geodesic"] wether to calculate the distance based on geodesic (spheroid) or | ||
* @param {string} [options.method="geodesic"] whether to calculate the distance based on geodesic (spheroid) or | ||
* planar (flat) method. Valid options are 'geodesic' or 'planar'. | ||
@@ -17,0 +17,0 @@ * @returns {number} distance between point and line |
{ | ||
"name": "@turf/point-to-line-distance", | ||
"version": "7.1.0-alpha.7+0ce6ecca0", | ||
"version": "7.1.0-alpha.70+948cdafaf", | ||
"description": "turf point-to-line-distance module", | ||
@@ -57,3 +57,3 @@ "author": "Turf Authors", | ||
"devDependencies": { | ||
"@turf/circle": "^7.1.0-alpha.7+0ce6ecca0", | ||
"@turf/circle": "^7.1.0-alpha.70+948cdafaf", | ||
"@types/benchmark": "^2.1.5", | ||
@@ -71,13 +71,14 @@ "@types/tape": "^4.2.32", | ||
"dependencies": { | ||
"@turf/bearing": "^7.1.0-alpha.7+0ce6ecca0", | ||
"@turf/distance": "^7.1.0-alpha.7+0ce6ecca0", | ||
"@turf/helpers": "^7.1.0-alpha.7+0ce6ecca0", | ||
"@turf/invariant": "^7.1.0-alpha.7+0ce6ecca0", | ||
"@turf/meta": "^7.1.0-alpha.7+0ce6ecca0", | ||
"@turf/projection": "^7.1.0-alpha.7+0ce6ecca0", | ||
"@turf/rhumb-bearing": "^7.1.0-alpha.7+0ce6ecca0", | ||
"@turf/rhumb-distance": "^7.1.0-alpha.7+0ce6ecca0", | ||
"@turf/bearing": "^7.1.0-alpha.70+948cdafaf", | ||
"@turf/distance": "^7.1.0-alpha.70+948cdafaf", | ||
"@turf/helpers": "^7.1.0-alpha.70+948cdafaf", | ||
"@turf/invariant": "^7.1.0-alpha.70+948cdafaf", | ||
"@turf/meta": "^7.1.0-alpha.70+948cdafaf", | ||
"@turf/projection": "^7.1.0-alpha.70+948cdafaf", | ||
"@turf/rhumb-bearing": "^7.1.0-alpha.70+948cdafaf", | ||
"@turf/rhumb-distance": "^7.1.0-alpha.70+948cdafaf", | ||
"@types/geojson": "^7946.0.10", | ||
"tslib": "^2.6.2" | ||
}, | ||
"gitHead": "0ce6ecca05829690270fec6d6bed2003495fe0ea" | ||
"gitHead": "948cdafaf70606d2e27fcc79973fa48ee1182067" | ||
} |
@@ -12,9 +12,9 @@ # @turf/point-to-line-distance | ||
* `pt` **([Feature][3]<[Point][4]> | [Array][5]<[number][6]>)** Feature or Geometry | ||
* `line` **[Feature][3]<[LineString][7]>** GeoJSON Feature or Geometry | ||
* `options` **[Object][8]** Optional parameters (optional, default `{}`) | ||
* `pt` **([Feature][3]<[Point][1]> | [Array][4]<[number][5]>)** Feature or Geometry | ||
* `line` **[Feature][3]<[LineString][2]>** GeoJSON Feature or Geometry | ||
* `options` **[Object][6]** Optional parameters (optional, default `{}`) | ||
* `options.units` **[string][9]** can be anything supported by turf/convertLength | ||
* `options.units` **[string][7]** can be anything supported by turf/convertLength | ||
(ex: degrees, radians, miles, or kilometers) (optional, default `"kilometers"`) | ||
* `options.method` **[string][9]** wether to calculate the distance based on geodesic (spheroid) or | ||
* `options.method` **[string][7]** whether to calculate the distance based on geodesic (spheroid) or | ||
planar (flat) method. Valid options are 'geodesic' or 'planar'. (optional, default `"geodesic"`) | ||
@@ -32,3 +32,3 @@ | ||
Returns **[number][6]** distance between point and line | ||
Returns **[number][5]** distance between point and line | ||
@@ -41,14 +41,10 @@ [1]: https://tools.ietf.org/html/rfc7946#section-3.1.2 | ||
[4]: https://tools.ietf.org/html/rfc7946#section-3.1.2 | ||
[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array | ||
[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array | ||
[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number | ||
[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number | ||
[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object | ||
[7]: https://tools.ietf.org/html/rfc7946#section-3.1.4 | ||
[7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String | ||
[8]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object | ||
[9]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String | ||
<!-- 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. --> | ||
@@ -55,0 +51,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
24955
10
66
+ Added@types/geojson@^7946.0.10