@turf/tesselate
Advanced tools
Comparing version 4.3.0 to 4.4.0
10
index.js
@@ -13,4 +13,10 @@ var polygon = require('@turf/helpers').polygon; | ||
* @example | ||
* var poly = turf.random('polygon').features[0]; | ||
* | ||
* var poly = { | ||
* "type": "Feature", | ||
* "properties": {}, | ||
* "geometry": { | ||
* "type": "Polygon", | ||
* "coordinates": [[[11, 0], [22, 4], [31, 0], [31, 11], [21, 15], [11, 11], [11, 0]]] | ||
* } | ||
* } | ||
* var triangles = turf.tesselate(poly); | ||
@@ -17,0 +23,0 @@ * |
{ | ||
"name": "@turf/tesselate", | ||
"version": "4.3.0", | ||
"version": "4.4.0", | ||
"description": "turf tesselate module", | ||
@@ -29,4 +29,6 @@ "main": "index.js", | ||
"contributors": [ | ||
"morganherlocker", | ||
"Abel Vázquez" | ||
"Abel Vázquez <@AbelVM>", | ||
"Morgan Herlocker <@morganherlocker>", | ||
"Tom MacWright <@tmcw>", | ||
"Vladimir Agafonkin <@mourner>" | ||
], | ||
@@ -39,3 +41,2 @@ "license": "MIT", | ||
"devDependencies": { | ||
"@turf/helpers": "^4.3.0", | ||
"benchmark": "^2.1.4", | ||
@@ -45,5 +46,5 @@ "tape": "^4.6.3" | ||
"dependencies": { | ||
"@turf/helpers": "^4.3.0", | ||
"@turf/helpers": "^4.4.0", | ||
"earcut": "^2.0.0" | ||
} | ||
} |
@@ -15,4 +15,10 @@ # @turf/tesselate | ||
```javascript | ||
var poly = turf.random('polygon').features[0]; | ||
var poly = { | ||
"type": "Feature", | ||
"properties": {}, | ||
"geometry": { | ||
"type": "Polygon", | ||
"coordinates": [[[11, 0], [22, 4], [31, 0], [31, 11], [21, 15], [11, 11], [11, 0]]] | ||
} | ||
} | ||
var triangles = turf.tesselate(poly); | ||
@@ -19,0 +25,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
6193
2
78
55
Updated@turf/helpers@^4.4.0