PitchKit
API Reference@pitchkit/coreInterfaces

HexBin

Defined in: packages/core/src/hexbin/bins.ts:19

One hexagonal cell: its centre in provider coordinates plus the statistic accumulated inside it. radius is the circumradius (centre to vertex) in display units, which are the provider's own units except on a percentage grid, where they are metres (see displayUnitScale). Pass it to hexCorners with the same dimensions to get the six corners without re-deriving the tiling.

Properties

PropertyModifierTypeDefined in
radiusreadonlynumberpackages/core/src/hexbin/bins.ts:22
valuereadonlynumberpackages/core/src/hexbin/bins.ts:23
xreadonlynumberpackages/core/src/hexbin/bins.ts:20
yreadonlynumberpackages/core/src/hexbin/bins.ts:21

On this page