Skip to content

Commit fbdf572

Browse files
committed
add point-to-polygon-distance to main turf package
1 parent 8a4f65b commit fbdf572

File tree

3 files changed

+7043
-5707
lines changed

3 files changed

+7043
-5707
lines changed

packages/turf/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ export { pointGrid } from "@turf/point-grid";
9191
export { pointOnFeature } from "@turf/point-on-feature";
9292
export { pointsWithinPolygon } from "@turf/points-within-polygon";
9393
export { pointToLineDistance } from "@turf/point-to-line-distance";
94+
export { pointToPolygonDistance } from "@turf/point-to-polygon-distance";
9495
export { polygonize } from "@turf/polygonize";
9596
export { polygonSmooth } from "@turf/polygon-smooth";
9697
export { polygonTangents } from "@turf/polygon-tangents";

packages/turf/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@
173173
"@turf/point-grid": "workspace:^",
174174
"@turf/point-on-feature": "workspace:^",
175175
"@turf/point-to-line-distance": "workspace:^",
176+
"@turf/point-to-polygon-distance": "workspace:^",
176177
"@turf/points-within-polygon": "workspace:^",
177178
"@turf/polygon-smooth": "workspace:^",
178179
"@turf/polygon-tangents": "workspace:^",

0 commit comments

Comments
 (0)