Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
twelch committed Aug 7, 2024
1 parent e0ac5ff commit cd88750
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions packages/turf-rectangle-grid/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ import {
*
* @name rectangleGrid
* @param {Array<number>} bbox extent of grid in [minX, minY, maxX, maxY] order. If the grid does not fill the bbox perfectly, it is centered.
* @param {number} cellWidth of each cell, in units
* @param {number} cellHeight of each cell, in units
* @param {number} cellWidth width of each cell, in units
* @param {number} cellHeight height of each cell, in units
* @param {Object} [options={}] Optional parameters
* @param {string} [options.units='kilometers'] the units the cellWidth and cellLenth values are expressed in, defaults to kilometers. Internally cellWidth and cellLength values are converted to degrees, regardless of input units.
* @param {string} [options.units='kilometers'] the units the cellWidth and cellLenth values are expressed in. Internally cellWidth and cellLength values are converted to degrees, regardless of units specified.
* @param {Feature<Polygon|MultiPolygon>} [options.mask] if passed a Polygon or MultiPolygon,
* the grid Points will be created only inside it
* @param {Object} [options.properties={}] passed to each point of the grid
Expand Down
2 changes: 1 addition & 1 deletion packages/turf-square-grid/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { rectangleGrid } from "@turf/rectangle-grid";
* @param {Array<number>} bbox extent of grid in [minX, minY, maxX, maxY] order. If the grid does not fill the bbox perfectly, it is centered.
* @param {number} cellSide length of each cell side.
* @param {Object} [options={}] Optional parameters
* @param {string} [options.units='kilometers'] the units the cellSide value is expressed in, defaults to kilometers. Internally cellSide value is converted to degrees, regardless of input units.
* @param {string} [options.units='kilometers'] the units the cellSide value is expressed in. Internally cellSide value is converted to degrees, regardless of units specified.
* radians, miles, or kilometers
* @param {Feature<Polygon|MultiPolygon>} [options.mask] if passed a Polygon or MultiPolygon,
* the grid Points will be created only inside it
Expand Down

0 comments on commit cd88750

Please sign in to comment.