Skip to content

worldwind-ui API / worldwind-kit / clusterIconUrl

Function: clusterIconUrl() ​

clusterIconUrl(count, color?, textColor?): string

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

An SVG data URL of a circle with the count inside, as used by the default cluster marker.

Parameters ​

count ​

number

color? ​

string = '#38bdf8'

textColor? ​

string = '#0f172a'

Returns ​

string

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