Skip to content

Commit

Permalink
Merge pull request #192 from ShaiDemri/update-documentation-to-v4
Browse files Browse the repository at this point in the history
Update method name in documentation to match V4 name
  • Loading branch information
nrabinowitz authored Sep 4, 2024
2 parents 0a5704e + ff386a9 commit 6978e9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ ordered by distance from the origin. The order of the hexagons within each ring

### h3.gridRingUnsafe(h3Index, ringSize) ⇒ <code>Array.&lt;H3Index&gt;</code>
Get all hexagons in a hollow hexagonal ring centered at origin with sides of a given length.
Unlike kRing, this function will throw an error if there is a pentagon anywhere in the ring.
Unlike gridDisk, this function will throw an error if there is a pentagon anywhere in the ring.

**Returns**: <code>Array.&lt;H3Index&gt;</code> - H3 indexes for all hexagons in ring
**Throws**:
Expand Down
2 changes: 1 addition & 1 deletion lib/h3core.js
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,7 @@ export function gridDiskDistances(h3Index, ringSize) {

/**
* Get all hexagons in a hollow hexagonal ring centered at origin with sides of a given length.
* Unlike kRing, this function will throw an error if there is a pentagon anywhere in the ring.
* Unlike gridDisk, this function will throw an error if there is a pentagon anywhere in the ring.
* @static
* @param {H3IndexInput} h3Index H3 index of center hexagon
* @param {number} ringSize Radius of ring
Expand Down

0 comments on commit 6978e9e

Please sign in to comment.