MapboxCluster Type
Clustering options for points on mapbox traces
Constructors
Constructor | Description |
|
|
Static members
Static member | Description |
Full Usage:
MapboxCluster.init (?Color, ?Enabled, ?MaxZoom, ?Opacity, ?Size, ?MultiSize, ?Step, ?MultiStep)
Parameters:
Color
-
Sets the color for each cluster step.
?Enabled : bool
-
Determines whether clustering is enabled or disabled.
?MaxZoom : float
-
Sets the maximum zoom level. At zoom levels equal to or greater than this, points will never be clustered.
?Opacity : float
-
Sets the marker opacity.
?Size : int
-
Sets the size for each cluster step.
?MultiSize : int seq
-
Sets the size for each cluster step.
?Step : int
-
Sets how many points it takes to create a cluster or advance to the next cluster step. Use this in conjunction with arrays for `size` and / or `color`. If an integer, steps start at multiples of this number. If an array, each step extends from the given value until one less than the next value.
?MultiStep : int seq
-
Sets how many points it takes to create a cluster or advance to the next cluster step. Use this in conjunction with arrays for `size` and / or `color`. If an integer, steps start at multiples of this number. If an array, each step extends from the given value until one less than the next value.
Returns: MapboxCluster
|
|
Full Usage:
MapboxCluster.style (?Color, ?Enabled, ?MaxZoom, ?Opacity, ?Size, ?MultiSize, ?Step, ?MultiStep)
Parameters:
Color
-
Sets the color for each cluster step.
?Enabled : bool
-
Determines whether clustering is enabled or disabled.
?MaxZoom : float
-
Sets the maximum zoom level. At zoom levels equal to or greater than this, points will never be clustered.
?Opacity : float
-
Sets the marker opacity.
?Size : int
-
Sets the size for each cluster step.
?MultiSize : int seq
-
Sets the size for each cluster step.
?Step : int
-
Sets how many points it takes to create a cluster or advance to the next cluster step. Use this in conjunction with arrays for `size` and / or `color`. If an integer, steps start at multiples of this number. If an array, each step extends from the given value until one less than the next value.
?MultiStep : int seq
-
Sets how many points it takes to create a cluster or advance to the next cluster step. Use this in conjunction with arrays for `size` and / or `color`. If an integer, steps start at multiples of this number. If an array, each step extends from the given value until one less than the next value.
Returns: MapboxCluster -> MapboxCluster
|
|