turf.shortestPath
From @turf/shortest-path.
| Engine | Turf.js |
|---|---|
| Tool name | turf.shortestPath |
| Interface | js |
| Implements | Not stated |
| Documentation | Not stated |
| Effects | Not stated |
| Notes | From @turf/shortest-path. |
| Status | active |
Parameters
| Name | Type | Required | Default | Choices | Note |
|---|---|---|---|---|---|
start | Coord | yes | Not stated | Not stated | Not stated |
end | Coord | yes | Not stated | Not stated | Not stated |
options | { obstacles?: Polygon | Feature<Polygon> | FeatureCollection<Polygon>; units?: Units; resolution?: number; } | no | Not stated | Not stated | Not stated |
options.obstacles | Polygon | Feature<Polygon> | FeatureCollection<Polygon> | no | Not stated | Not stated | field of options |
options.units | Units | no | Not stated | Not stated | field of options |
options.resolution | number | 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.