Skip to content

worldwind-ui API / react-worldwind / ClusterLayer

Function: ClusterLayer() ​

ClusterLayer<T>(__namedParameters): null

Defined in: react/src/ClusterLayer.tsx:25

Draws many points as count markers that split as you zoom in. items can be replaced at any time; the renderer options are read when the layer is created.

Type Parameters ​

T ​

T

Parameters ​

__namedParameters ​

ClusterLayerProps<T>

Returns ​

null

Example ​

tsx
<ClusterLayer items={stations} name="Stations" radius={50} onItemClick={(station) => select(station)} />

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