Description Usage Arguments Examples
Average hexagon area, or edge length at a given resolution.
The total count of hexagons in the world at a given resolution. Note that above resolution 8 the exact count cannot be represented in a JavaScript 32-bit number, so consumers should use caution when applying further operations to the output.
1 2 3 4 5 | h3_area(resolution = 4L, unit = c("m2", "km2"))
h3_edge_length(resolution = 4L, unit = c("m", "km"))
h3_num_hexagons(resolution = 4L)
|
resolution |
Hexagon resolution. |
unit |
Metric, either meters ( |
1 2 3 4 | h3_area(7, "km2")
h3_edge_length(7, "km")
h3_num_hexagons(2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.