@turf/destination
Advanced tools
Comparing version 3.0.15 to 3.0.16
{ | ||
"name": "@turf/destination", | ||
"version": "3.0.15", | ||
"version": "3.0.16", | ||
"description": "turf destination module", | ||
@@ -11,3 +11,3 @@ "main": "index.js", | ||
"type": "git", | ||
"url": "https://github.com/Turfjs/turf-destination.git" | ||
"url": "git://github.com/Turfjs/turf.git" | ||
}, | ||
@@ -25,14 +25,14 @@ "keywords": [ | ||
"bugs": { | ||
"url": "https://github.com/Turfjs/turf-destination/issues" | ||
"url": "https://github.com/Turfjs/turf/issues" | ||
}, | ||
"homepage": "https://github.com/Turfjs/turf-destination", | ||
"homepage": "https://github.com/Turfjs/turf", | ||
"devDependencies": { | ||
"benchmark": "^1.0.0", | ||
"tape": "^3.5.0", | ||
"@turf/distance": "^3.0.15" | ||
"@turf/distance": "^3.0.16" | ||
}, | ||
"dependencies": { | ||
"@turf/helpers": "^3.0.15", | ||
"@turf/invariant": "^3.0.15" | ||
"@turf/helpers": "^3.0.16", | ||
"@turf/invariant": "^3.0.16" | ||
} | ||
} |
@@ -1,10 +0,10 @@ | ||
# turf-destination | ||
# @turf/destination | ||
# destination | ||
Takes a [Point](Point) and calculates the location of a destination point given a distance in degrees, radians, miles, or kilometers; and bearing in degrees. This uses the [Haversine formula](http://en.wikipedia.org/wiki/Haversine_formula) to account for global curvature. | ||
Takes a [Point](http://geojson.org/geojson-spec.html#point) and calculates the location of a destination point given a distance in degrees, radians, miles, or kilometers; and bearing in degrees. This uses the [Haversine formula](http://en.wikipedia.org/wiki/Haversine_formula) to account for global curvature. | ||
**Parameters** | ||
- `from` **Feature<Point>** starting point | ||
- `from` **[Feature](http://geojson.org/geojson-spec.html#feature-objects)<[Point](http://geojson.org/geojson-spec.html#point)>** starting point | ||
- `distance` **[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** distance from the starting point | ||
@@ -42,3 +42,3 @@ - `bearing` **[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** ranging from -180 to 180 | ||
Returns **Feature<Point>** destination point | ||
Returns **[Feature](http://geojson.org/geojson-spec.html#feature-objects)<[Point](http://geojson.org/geojson-spec.html#point)>** destination point | ||
@@ -57,3 +57,3 @@ --- | ||
```sh | ||
$ npm install turf-destination | ||
$ npm install @turf/destination | ||
``` | ||
@@ -64,3 +64,3 @@ | ||
```sh | ||
$ npm install turf | ||
$ npm install @turf/turf | ||
``` |
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
7087
Updated@turf/helpers@^3.0.16
Updated@turf/invariant@^3.0.16