Skip to content

worldwind-ui API / worldwind-kit / clusterCellDegrees

Function: clusterCellDegrees() ​

clusterCellDegrees(radiusPixels, metersPerPixel): number

Defined in: kit/src/cluster.ts:82

Grid cell size in degrees for a marker radius in pixels at a resolution, snapped to quarter octaves so tiny zoom changes do not re-cluster.

Parameters ​

radiusPixels ​

number

metersPerPixel ​

number

Returns ​

number

MIT licensed. Not affiliated with NASA; WorldWind is NASA's open-source virtual globe.