@turf/line-overlap
Advanced tools
Comparing version 4.5.2 to 4.6.0
21
index.js
@@ -16,20 +16,5 @@ var lineSegment = require('@turf/line-segment'); | ||
* @example | ||
* var line1 = { | ||
* "type": "Feature", | ||
* "properties": {}, | ||
* "geometry": { | ||
* "type": "LineString", | ||
* "coordinates": [[115, -35], [125, -30], [135, -30], [145, -35] | ||
* ] | ||
* } | ||
* } | ||
* var line2 = { | ||
* "type": "Feature", | ||
* "properties": {}, | ||
* "geometry": { | ||
* "type": "LineString", | ||
* "coordinates": [[115, -25], [125, -30], [135, -30], [145, -25] | ||
* ] | ||
* } | ||
* } | ||
* var line1 = turf.lineString([[115, -35], [125, -30], [135, -30], [145, -35]]); | ||
* var line2 = turf.lineString([[115, -25], [125, -30], [135, -30], [145, -25]]); | ||
* | ||
* var overlapping = turf.lineOverlap(line1, line2); | ||
@@ -36,0 +21,0 @@ * |
{ | ||
"name": "@turf/line-overlap", | ||
"version": "4.5.2", | ||
"version": "4.6.0", | ||
"description": "turf line-overlap module", | ||
@@ -42,6 +42,6 @@ "main": "index.js", | ||
"dependencies": { | ||
"@turf/helpers": "^4.5.2", | ||
"@turf/invariant": "^4.5.2", | ||
"@turf/line-segment": "^4.5.2", | ||
"@turf/meta": "^4.5.2", | ||
"@turf/helpers": "^4.6.0", | ||
"@turf/invariant": "^4.6.0", | ||
"@turf/line-segment": "^4.6.0", | ||
"@turf/meta": "^4.6.0", | ||
"deep-equal": "^1.0.1", | ||
@@ -48,0 +48,0 @@ "geojson-rbush": "^1.0.1" |
@@ -15,20 +15,5 @@ # @turf/line-overlap | ||
```javascript | ||
var line1 = { | ||
"type": "Feature", | ||
"properties": {}, | ||
"geometry": { | ||
"type": "LineString", | ||
"coordinates": [[115, -35], [125, -30], [135, -30], [145, -35] | ||
] | ||
} | ||
} | ||
var line2 = { | ||
"type": "Feature", | ||
"properties": {}, | ||
"geometry": { | ||
"type": "LineString", | ||
"coordinates": [[115, -25], [125, -30], [135, -30], [145, -25] | ||
] | ||
} | ||
} | ||
var line1 = turf.lineString([[115, -35], [125, -30], [135, -30], [145, -35]]); | ||
var line2 = turf.lineString([[115, -25], [125, -30], [135, -30], [145, -25]]); | ||
var overlapping = turf.lineOverlap(line1, line2); | ||
@@ -35,0 +20,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
7889
88
50
Updated@turf/helpers@^4.6.0
Updated@turf/invariant@^4.6.0
Updated@turf/line-segment@^4.6.0
Updated@turf/meta@^4.6.0