turf-buffer
Advanced tools
Comparing version 0.0.2 to 0.1.0
{ | ||
"name": "turf-buffer", | ||
"version": "0.0.2", | ||
"version": "0.1.0", | ||
"description": "turf buffer module", | ||
@@ -29,10 +29,10 @@ "main": "index.js", | ||
"devDependencies": { | ||
"tape": "^2.13.1" | ||
"tape": "^2.13.3" | ||
}, | ||
"dependencies": { | ||
"jsts": "^0.13.4", | ||
"turf-combine": "0.0.1", | ||
"turf-combine": "0.1.0", | ||
"turf-featurecollection": "^0.1.0", | ||
"turf-polygon": "^0.1.0" | ||
"turf-polygon": "^0.1.1" | ||
} | ||
} |
@@ -7,3 +7,25 @@ turf-buffer | ||
###Install | ||
```sh | ||
npm install turf-buffer | ||
``` | ||
###Parameters | ||
|name|description| | ||
|---|---| | ||
|feature|A Feature or FeatureCollection of any type| | ||
|distance|Distance to draw the buffer| | ||
|unit|'miles' or 'kilometers'| | ||
###Usage | ||
```js | ||
buffer(feature, distance, unit) | ||
``` | ||
###Example | ||
```js | ||
var buffer = require('turf-buffer') | ||
@@ -18,2 +40,2 @@ var point = require('turf-point') | ||
console.log(buffered) | ||
``` | ||
``` |
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
20278
11
39
+ Addedturf-combine@0.1.0(transitive)
- Removedturf-combine@0.0.1(transitive)
Updatedturf-combine@0.1.0
Updatedturf-polygon@^0.1.1