turf.pointToPolygonDistance
From @turf/point-to-polygon-distance.
| Engine | Turf.js |
|---|---|
| Tool name | turf.pointToPolygonDistance |
| Interface | js |
| Implements | Not stated |
| Documentation | Not stated |
| Effects | Not stated |
| Notes | From @turf/point-to-polygon-distance. |
| Status | active |
Parameters
| Name | Type | Required | Default | Choices | Note |
|---|---|---|---|---|---|
point | Feature<Point> | Point | Position | yes | Not stated | Not stated | Not stated |
polygonOrMultiPolygon | Feature<Polygon | MultiPolygon> | Polygon | MultiPolygon | yes | Not stated | Not stated | Not stated |
options | { units?: Units; method?: "geodesic" | "planar"; } | no | Not stated | Not stated | Not stated |
options.units | Units | no | Not stated | Not stated | field of options |
options.method | "geodesic" | "planar" | no | Not stated | Not stated | field of options |
Harvested by the turf harvester from engine version
7.4.0. Names can change when an engine is harvested again.