new Cluster(options)
Name | Type | Description | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Cluster options.
|
Methods
-
getDistance(){number}
source/Cluster.js, line 102 -
Get the distance in pixels between clusters.
Returns:
Distance.
-
Get a reference to the wrapped source.
Returns:
Source.
-
setDistance(distance)
source/Cluster.js, line 133 -
Set the distance in pixels between clusters.
Name Type Description distance
number The distance in pixels.