numHexagons abstract method

int numHexagons(
  1. int res
)

Returns the total count of hexagons in the world at a given resolution.

If the library compiled to JS - 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.

Implementation

int numHexagons(int res);