@turf/great-circle
Advanced tools
Comparing version 4.5.2 to 4.6.0
19
index.js
@@ -16,18 +16,5 @@ var arc = require('./arc'); | ||
* @example | ||
* var start = { | ||
* "type": "Feature", | ||
* "properties": {}, | ||
* "geometry": { | ||
* "type": "Point", | ||
* "coordinates": [-122, 48] | ||
* } | ||
* } | ||
* var end = { | ||
* "type": "Feature", | ||
* "properties": {}, | ||
* "geometry": { | ||
* "type": "Point", | ||
* "coordinates": [-77, 39] | ||
* } | ||
* } | ||
* var start = turf.point([-122, 48]); | ||
* var end = turf.point([-77, 39]); | ||
* | ||
* var greatCircle = turf.greatCircle(start, end, {'name': 'Seattle to DC'}); | ||
@@ -34,0 +21,0 @@ * |
{ | ||
"name": "@turf/great-circle", | ||
"version": "4.5.2", | ||
"version": "4.6.0", | ||
"description": "turf great-circle module", | ||
@@ -39,4 +39,4 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@turf/helpers": "^4.5.2", | ||
"@turf/truncate": "^4.5.2", | ||
"@turf/helpers": "^4.6.0", | ||
"@turf/truncate": "^4.6.0", | ||
"benchmark": "^2.1.4", | ||
@@ -48,4 +48,4 @@ "load-json-file": "^2.0.0", | ||
"dependencies": { | ||
"@turf/invariant": "^4.5.2" | ||
"@turf/invariant": "^4.6.0" | ||
} | ||
} |
@@ -19,18 +19,5 @@ # @turf/great-circle | ||
```javascript | ||
var start = { | ||
"type": "Feature", | ||
"properties": {}, | ||
"geometry": { | ||
"type": "Point", | ||
"coordinates": [-122, 48] | ||
} | ||
} | ||
var end = { | ||
"type": "Feature", | ||
"properties": {}, | ||
"geometry": { | ||
"type": "Point", | ||
"coordinates": [-77, 39] | ||
} | ||
} | ||
var start = turf.point([-122, 48]); | ||
var end = turf.point([-77, 39]); | ||
var greatCircle = turf.greatCircle(start, end, {'name': 'Seattle to DC'}); | ||
@@ -37,0 +24,0 @@ |
15593
267
54
Updated@turf/invariant@^4.6.0