@turf/bearing
Advanced tools
Comparing version 3.13.0 to 3.14.0
@@ -13,2 +13,3 @@ var getCoord = require('@turf/invariant').getCoord; | ||
* @returns {number} bearing in decimal degrees | ||
* @addToMap point1, point2 | ||
* @example | ||
@@ -37,2 +38,3 @@ * var point1 = { | ||
* var bearing = turf.bearing(point1, point2); | ||
* point1.properties.bearing = bearing | ||
* //=bearing | ||
@@ -63,3 +65,3 @@ */ | ||
* Calculates Final Bearing | ||
* | ||
* @private | ||
* @param {Feature<Point>} start starting Point | ||
@@ -66,0 +68,0 @@ * @param {Feature<Point>} end ending Point |
{ | ||
"name": "@turf/bearing", | ||
"version": "3.13.0", | ||
"version": "3.14.0", | ||
"description": "turf bearing module", | ||
@@ -30,3 +30,3 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@turf/destination": "^3.13.0", | ||
"@turf/destination": "^3.14.0", | ||
"@turf/helpers": "^3.13.0", | ||
@@ -33,0 +33,0 @@ "benchmark": "^1.0.0", |
@@ -38,2 +38,3 @@ # @turf/bearing | ||
var bearing = turf.bearing(point1, point2); | ||
point1.properties.bearing = bearing | ||
//=bearing | ||
@@ -44,13 +45,2 @@ ``` | ||
# calculateFinalBearing | ||
Calculates Final Bearing | ||
**Parameters** | ||
- `start` **[Feature](http://geojson.org/geojson-spec.html#feature-objects)<[Point](http://geojson.org/geojson-spec.html#point)>** starting Point | ||
- `end` **[Feature](http://geojson.org/geojson-spec.html#feature-objects)<[Point](http://geojson.org/geojson-spec.html#point)>** ending Point | ||
Returns **[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** bearing | ||
<!-- This file is automatically generated. Please don't edit it directly: | ||
@@ -57,0 +47,0 @@ if you find an error, edit the source file (likely index.js), and re-run |
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
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
76
6053
68