@turf/boolean-point-in-polygon
Advanced tools
Comparing version 5.0.0 to 5.0.4
@@ -6,5 +6,5 @@ import { MultiPolygon, Polygon, Feature, Coord } from '@turf/helpers' | ||
*/ | ||
export default function booleanPointInPolygon<T extends Polygon | MultiPolygon>( | ||
export default function booleanPointInPolygon( | ||
point: Coord, | ||
polygon: Feature<T> | T, | ||
polygon: Feature<Polygon | MultiPolygon> | Polygon | MultiPolygon, | ||
options?: { | ||
@@ -11,0 +11,0 @@ ignoreBoundary?: boolean |
{ | ||
"name": "@turf/boolean-point-in-polygon", | ||
"version": "5.0.0", | ||
"version": "5.0.4", | ||
"description": "turf boolean-point-in-polygon module", | ||
@@ -38,10 +38,10 @@ "main": "main", | ||
"devDependencies": { | ||
"@turf/helpers": "*", | ||
"@std/esm": "*", | ||
"@turf/helpers": "^5.0.4", | ||
"benchmark": "*", | ||
"tape": "*", | ||
"rollup": "*", | ||
"@std/esm": "*" | ||
"tape": "*" | ||
}, | ||
"dependencies": { | ||
"@turf/invariant": "5.x" | ||
"@turf/invariant": "^5.0.4" | ||
}, | ||
@@ -48,0 +48,0 @@ "@std/esm": { |
@@ -1,6 +0,6 @@ | ||
# @turf/inside | ||
# @turf/boolean-point-in-polygon | ||
<!-- Generated by documentation.js. Update this documentation by updating the source code. --> | ||
## inside | ||
## booleanPointInPolygon | ||
@@ -29,3 +29,3 @@ Takes a [Point](http://geojson.org/geojson-spec.html#point) and a [Polygon](http://geojson.org/geojson-spec.html#polygon) or [MultiPolygon](http://geojson.org/geojson-spec.html#multipolygon) and determines if the point resides inside the polygon. The polygon can | ||
turf.inside(pt, poly); | ||
turf.booleanPointInPolygon(pt, poly); | ||
//= true | ||
@@ -52,3 +52,3 @@ ``` | ||
```sh | ||
$ npm install @turf/inside | ||
$ npm install @turf/boolean-point-in-polygon | ||
``` | ||
@@ -55,0 +55,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
12707
Updated@turf/invariant@^5.0.4