Skip to content

Commit

Permalink
Lint and update polyfill doc
Browse files Browse the repository at this point in the history
  • Loading branch information
DeanSherwin committed Mar 26, 2024
1 parent 4a6a6a5 commit e66bda1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion clouds/snowflake/libraries/javascript/libs/h3_polyfill.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ export default {
polygon,
intersect,
geometryCollection
};
};
2 changes: 1 addition & 1 deletion clouds/snowflake/libraries/javascript/test/h3.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ test('h3 library defined', () => {
expect(isPentagonLib.h3IsPentagon).toBeDefined();
expect(kringDistancesLib.h3Distance).toBeDefined();
expect(uncompactLib.uncompact).toBeDefined();
});
});
2 changes: 1 addition & 1 deletion clouds/snowflake/modules/doc/h3/H3_POLYFILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ H3_POLYFILL(geography, resolution)

Returns an array with all the H3 cell indexes **with centers** contained in a given polygon. It will return `null` on error (invalid geography type or resolution out of bounds).

* `geography`: `GEOGRAPHY` **polygon** or **multipolygon** representing the shape to cover. **GeometryCollections** are also allowed but they must only contain **polygon** or **multipolygon** geographies.
* `geography`: `GEOGRAPHY` **polygon** or **multipolygon** representing the shape to cover. **GeometryCollections** are also allowed but they should contain **polygon** or **multipolygon** geographies. Non-Polygon types will not raise an error but will be ignored instead.
* `resolution`: `INT` number between 0 and 15 with the [H3 resolution](https://h3geo.org/docs/core-library/restable).

**Return type**
Expand Down

0 comments on commit e66bda1

Please sign in to comment.