@turf/mask
Advanced tools
Comparing version 4.1.0 to 4.2.0
@@ -14,3 +14,2 @@ var featureEach = require('@turf/meta').featureEach; | ||
* @returns {Feature<Polygon>} Masked Polygon (exterior ring with holes). | ||
* @addToMap masked | ||
* @example | ||
@@ -34,3 +33,5 @@ * var polygon = { | ||
* var masked = turf.mask(polygon, mask); | ||
* //=masked | ||
* | ||
* //addToMap | ||
* var addToMap = [masked] | ||
*/ | ||
@@ -37,0 +38,0 @@ module.exports = function (polygon, mask) { |
{ | ||
"name": "@turf/mask", | ||
"version": "4.1.0", | ||
"version": "4.2.0", | ||
"description": "turf mask module", | ||
@@ -40,8 +40,8 @@ "main": "index.js", | ||
"dependencies": { | ||
"@turf/bbox": "^4.1.0", | ||
"@turf/helpers": "^4.1.0", | ||
"@turf/meta": "^4.1.0", | ||
"@turf/union": "^4.1.0", | ||
"@turf/bbox": "^4.2.0", | ||
"@turf/helpers": "^4.2.0", | ||
"@turf/meta": "^4.2.0", | ||
"@turf/union": "^4.2.0", | ||
"rbush": "^2.0.1" | ||
} | ||
} |
@@ -32,3 +32,5 @@ # @turf/mask | ||
var masked = turf.mask(polygon, mask); | ||
//=masked | ||
//addToMap | ||
var addToMap = [masked] | ||
``` | ||
@@ -35,0 +37,0 @@ |
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
10938
206
63
Updated@turf/bbox@^4.2.0
Updated@turf/helpers@^4.2.0
Updated@turf/meta@^4.2.0
Updated@turf/union@^4.2.0