Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion versioned_docs/version-7.1.0/api/triangleGrid.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Creates a grid of triangular polygons.
| bbox | **[BBox](https://tools.ietf.org/html/rfc7946#section-5)** | extent of grid in [minX, minY, maxX, maxY] order |
| cellSide | **number** | dimension of each grid cell. Two triangles are created in each cell. |
| options<i>?</i> | **Object** | Optional parameters _(default \{\})_ |
| options.units<i>?</i> | **Units** | used in calculating cellSide. Supports all valid Turf \{@link https://github.com/Turfjs/turf/blob/master/packages/turf-helpers/README_UNITS.md Units\} _(default 'kilometers')_ |
| options.units<i>?</i> | **Units** | used in calculating cellSide. Supports all valid Turf **[Units](https://github.com/Turfjs/turf/blob/master/packages/turf-helpers/README_UNITS.md)** _(default 'kilometers')_ |
| options.mask<i>?</i> | **[Feature](https://tools.ietf.org/html/rfc7946#section-3.2)\<[Polygon](https://tools.ietf.org/html/rfc7946#section-3.1.6)\>** | if passed a Polygon or MultiPolygon, the grid Points will be created only inside it |
| options.properties<i>?</i> | **Object** | passed to each point of the grid _(default \{\})_ |

Expand Down