@turf/voronoi
Advanced tools
Comparing version 6.5.0 to 7.0.0-alpha.0
@@ -1,2 +0,2 @@ | ||
import { FeatureCollection, BBox, Point, Polygon } from "@turf/helpers"; | ||
import { FeatureCollection, BBox, Point, Polygon } from "geojson"; | ||
@@ -8,3 +8,3 @@ /** | ||
points: FeatureCollection<Point>, | ||
options: { bbox: BBox } | ||
options?: { bbox: BBox } | ||
): FeatureCollection<Polygon>; |
{ | ||
"name": "@turf/voronoi", | ||
"version": "6.5.0", | ||
"version": "7.0.0-alpha.0", | ||
"description": "turf voronoi module", | ||
@@ -64,7 +64,7 @@ "author": "Turf Authors", | ||
"dependencies": { | ||
"@turf/helpers": "^6.5.0", | ||
"@turf/invariant": "^6.5.0", | ||
"@turf/helpers": "^7.0.0-alpha.0", | ||
"@turf/invariant": "^7.0.0-alpha.0", | ||
"d3-voronoi": "1.1.2" | ||
}, | ||
"gitHead": "5375941072b90d489389db22b43bfe809d5e451e" | ||
"gitHead": "0edc4c491b999e5ace770a61e1cf549f7c004189" | ||
} |
@@ -12,10 +12,11 @@ # @turf/voronoi | ||
**Parameters** | ||
### Parameters | ||
- `points` **[FeatureCollection][1]<[Point][2]>** to find the Voronoi polygons around. | ||
- `options` **[Object][3]** Optional parameters (optional, default `{}`) | ||
- `options.bbox` **[Array][4]<[number][5]>** clipping rectangle, in [minX, minY, maxX, MaxY] order. (optional, default `[-180,-85,180,-85]`) | ||
* `points` **[FeatureCollection][1]<[Point][2]>** to find the Voronoi polygons around. | ||
* `options` **[Object][3]** Optional parameters (optional, default `{}`) | ||
**Examples** | ||
* `options.bbox` **[Array][4]<[number][5]>** clipping rectangle, in \[minX, minY, maxX, MaxY] order. (optional, default `[-180,-85,180,-85]`) | ||
### Examples | ||
```javascript | ||
@@ -32,3 +33,3 @@ var options = { | ||
Returns **[FeatureCollection][1]<[Polygon][6]>** a set of polygons, one per input point. | ||
Returns **[FeatureCollection][1]<[Polygon][6]>** a set of polygons, one per input point. | ||
@@ -35,0 +36,0 @@ [1]: https://tools.ietf.org/html/rfc7946#section-3.3 |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
9010
70
1
+ Added@turf/helpers@7.1.0(transitive)
+ Added@turf/invariant@7.1.0(transitive)
+ Added@types/geojson@7946.0.15(transitive)
+ Addedtslib@2.8.1(transitive)
- Removed@turf/helpers@6.5.0(transitive)
- Removed@turf/invariant@6.5.0(transitive)
Updated@turf/helpers@^7.0.0-alpha.0