@turf/intersect
Advanced tools
Comparing version 4.1.0 to 4.2.0
@@ -10,3 +10,3 @@ // depend on jsts for now http://bjornharrtell.github.io/jsts/ | ||
* @param {Feature<Polygon>} poly2 the second polygon | ||
* @returns {(Feature|undefined)} returns a feature representing the point(s) they share (in case of a {@link Point} or {@link MultiPoint}), the borders they share (in case of a {@link LineString} or a {@link MultiLineString}), the area they share (in case of {@link Polygon} or {@link MultiPolygon}). If they do not share any point, returns `undefined`. | ||
* @returns {Feature|undefined} returns a feature representing the point(s) they share (in case of a {@link Point} or {@link MultiPoint}), the borders they share (in case of a {@link LineString} or a {@link MultiLineString}), the area they share (in case of {@link Polygon} or {@link MultiPolygon}). If they do not share any point, returns `undefined`. | ||
* @example | ||
@@ -34,3 +34,4 @@ * var poly1 = turf.polygon([[ | ||
* | ||
* //=intersection | ||
* //addToMap | ||
* var addToMap = [poly1, poly2, intersection] | ||
*/ | ||
@@ -37,0 +38,0 @@ module.exports = function (poly1, poly2) { |
{ | ||
"name": "@turf/intersect", | ||
"version": "4.1.0", | ||
"version": "4.2.0", | ||
"description": "turf intersect module", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -36,3 +36,4 @@ # @turf/intersect | ||
//=intersection | ||
//addToMap | ||
var addToMap = [poly1, poly2, intersection] | ||
``` | ||
@@ -39,0 +40,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
6691
65
66