@turf/flatten
Advanced tools
Comparing version 4.1.0 to 4.2.0
@@ -20,3 +20,3 @@ var featureEach = require('@turf/meta').featureEach; | ||
* "coordinates": [ | ||
* [[[102.0, 2.0], [103.0, 2.0], [103.0, 3.0], [102.0, 3.0], [102.0, 2.0]]], | ||
* [[[102.0, 2.0], [103.0, 2.0], [103.0, 3.0], [102.0, 3.0], [102.0, 2.0]]], | ||
* [[[100.0, 0.0], [101.0, 0.0], [101.0, 1.0], [100.0, 1.0], [100.0, 0.0]], | ||
@@ -27,5 +27,6 @@ * [[100.2, 0.2], [100.8, 0.2], [100.8, 0.8], [100.2, 0.8], [100.2, 0.2]]] | ||
* | ||
* var flattened = turf.flatten(geometry); | ||
* var flatten = turf.flatten(geometry); | ||
* | ||
* //=flattened | ||
* //addToMap | ||
* var addToMap = [flatten] | ||
*/ | ||
@@ -32,0 +33,0 @@ function flatten(geojson) { |
{ | ||
"name": "@turf/flatten", | ||
"version": "4.1.0", | ||
"version": "4.2.0", | ||
"description": "turf flatten module", | ||
@@ -39,6 +39,6 @@ "main": "index.js", | ||
"dependencies": { | ||
"@turf/helpers": "^4.1.0", | ||
"@turf/invariant": "^4.1.0", | ||
"@turf/meta": "^4.1.0" | ||
"@turf/helpers": "^4.2.0", | ||
"@turf/invariant": "^4.2.0", | ||
"@turf/meta": "^4.2.0" | ||
} | ||
} |
@@ -17,3 +17,3 @@ # @turf/flatten | ||
"coordinates": [ | ||
[[[102.0, 2.0], [103.0, 2.0], [103.0, 3.0], [102.0, 3.0], [102.0, 2.0]]], | ||
[[[102.0, 2.0], [103.0, 2.0], [103.0, 3.0], [102.0, 3.0], [102.0, 2.0]]], | ||
[[[100.0, 0.0], [101.0, 0.0], [101.0, 1.0], [100.0, 1.0], [100.0, 0.0]], | ||
@@ -24,5 +24,6 @@ [[100.2, 0.2], [100.8, 0.2], [100.8, 0.8], [100.2, 0.8], [100.2, 0.2]]] | ||
var flattened = turf.flatten(geometry); | ||
var flatten = turf.flatten(geometry); | ||
//=flattened | ||
//addToMap | ||
var addToMap = [flatten] | ||
``` | ||
@@ -29,0 +30,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
8851
164
55
Updated@turf/helpers@^4.2.0
Updated@turf/invariant@^4.2.0
Updated@turf/meta@^4.2.0