@turf/polygon-to-linestring
Advanced tools
Comparing version 4.5.2 to 4.6.0
10
index.js
@@ -15,10 +15,4 @@ var getCoords = require('@turf/invariant').getCoords; | ||
* @example | ||
* var poly = { | ||
* "type": "Feature", | ||
* "properties": {}, | ||
* "geometry": { | ||
* "type": "Polygon", | ||
* "coordinates": [[[125, -30], [145, -30], [145, -20], [125, -20], [125, -30]]] | ||
* } | ||
* } | ||
* var poly = turf.polygon([[[125, -30], [145, -30], [145, -20], [125, -20], [125, -30]]]); | ||
* | ||
* var line = turf.polygonToLineString(poly); | ||
@@ -25,0 +19,0 @@ * |
{ | ||
"name": "@turf/polygon-to-linestring", | ||
"version": "4.5.2", | ||
"version": "4.6.0", | ||
"description": "turf polygon-to-linestring module", | ||
@@ -36,5 +36,5 @@ "main": "index.js", | ||
"dependencies": { | ||
"@turf/helpers": "^4.5.2", | ||
"@turf/invariant": "^4.5.2" | ||
"@turf/helpers": "^4.6.0", | ||
"@turf/invariant": "^4.6.0" | ||
} | ||
} |
@@ -15,10 +15,4 @@ # @turf/polygon-to-linestring | ||
```javascript | ||
var poly = { | ||
"type": "Feature", | ||
"properties": {}, | ||
"geometry": { | ||
"type": "Polygon", | ||
"coordinates": [[[125, -30], [145, -30], [145, -20], [125, -20], [125, -30]]] | ||
} | ||
} | ||
var poly = turf.polygon([[[125, -30], [145, -30], [145, -20], [125, -20], [125, -30]]]); | ||
var line = turf.polygonToLineString(poly); | ||
@@ -25,0 +19,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
6298
59
49
Updated@turf/helpers@^4.6.0
Updated@turf/invariant@^4.6.0