@turf/collect
Advanced tools
Comparing version 4.1.0 to 4.2.0
@@ -18,3 +18,2 @@ var turfbbox = require('@turf/bbox'); | ||
* @returns {FeatureCollection<Polygon>} polygons with properties listed based on `outField` | ||
* @addToMap collected, pointFC | ||
* @example | ||
@@ -33,4 +32,5 @@ * var poly1 = turf.polygon([[[0,0],[10,0],[10,10],[0,10],[0,0]]]); | ||
* //=values => [200, 600] | ||
* //=pointFC | ||
* //=collected | ||
* | ||
* //addToMap | ||
* var addToMap = [pointFC, collected] | ||
*/ | ||
@@ -37,0 +37,0 @@ module.exports = function (polygons, points, inProperty, outProperty) { |
{ | ||
"name": "@turf/collect", | ||
"version": "4.1.0", | ||
"version": "4.2.0", | ||
"description": "turf collect module", | ||
@@ -39,9 +39,9 @@ "main": "index.js", | ||
"tape": "^3.6.1", | ||
"@turf/helpers": "^4.1.0" | ||
"@turf/helpers": "^4.2.0" | ||
}, | ||
"dependencies": { | ||
"rbush": "^2.0.1", | ||
"@turf/bbox": "^4.1.0", | ||
"@turf/inside": "^4.1.0" | ||
"@turf/bbox": "^4.2.0", | ||
"@turf/inside": "^4.2.0" | ||
} | ||
} |
@@ -33,4 +33,5 @@ # @turf/collect | ||
//=values => [200, 600] | ||
//=pointFC | ||
//=collected | ||
//addToMap | ||
var addToMap = [pointFC, collected] | ||
``` | ||
@@ -37,0 +38,0 @@ |
7586
64
Updated@turf/bbox@^4.2.0
Updated@turf/inside@^4.2.0