turf.lineToPolygon
From @turf/line-to-polygon.
| Engine | Turf.js |
|---|---|
| Tool name | turf.lineToPolygon |
| Interface | js |
| Implements | Not stated |
| Documentation | Not stated |
| Effects | Not stated |
| Notes | From @turf/line-to-polygon. |
| Status | active |
Parameters
| Name | Type | Required | Default | Choices | Note |
|---|---|---|---|---|---|
lines | Feature<G> | FeatureCollection<G> | G | yes | Not stated | Not stated | Not stated |
options | { properties?: GeoJsonProperties; autoComplete?: boolean; orderCoords?: boolean; mutate?: boolean; } | no | Not stated | Not stated | Not stated |
options.properties | GeoJsonProperties | no | Not stated | Not stated | field of options |
options.autoComplete | boolean | no | Not stated | Not stated | field of options |
options.orderCoords | boolean | no | Not stated | Not stated | field of options |
options.mutate | boolean | 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.