Skip to content

worldwind-ui API / worldwind-kit / ClusterOptions

Interface: ClusterOptions<T> ​

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

Extended by ​

Type Parameters ​

T ​

T

Properties ​

getPosition? ​

optional getPosition?: (item) => LatLon

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

Reads an item's location. Defaults to its latitude and longitude fields.

Parameters ​

item ​

T

Returns ​

LatLon


minPoints? ​

optional minPoints?: number

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

Fewest items that form a cluster; cells with fewer are drawn individually. Default 2.

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