new Cluster(options, optionsVendor)
| Name | Type | Description |
|---|---|---|
options |
Object |
config options of user |
optionsVendor |
Object |
specified options from ol |
Methods
-
module:M/impl/style/Cluster~Cluster.updateRangeImpl(min, max, newRange, layer, cluster){M.style.Cluster}
impl/ol/style/Cluster.js, line 251 -
This function set a specified range
Name Type Description minnumber as range minimal value to be overwritten
maxnumber as range max value to be overwritten
newRangenumber as the new range
layerM.layer.Vector is the Cluster layer
clusterM.style.Cluster as the cluster to update his range
-
activateChangeEvent(canvas)
impl/ol/style/Cluster.js, line 579 -
TODO
Name Type Description canvasobject -
addSelectInteraction()
impl/ol/style/Cluster.js, line 290 -
Add selected interaction and layer to see the features of cluster
-
applyToLayer(layer, map)
impl/ol/style/Cluster.js, line 114 -
Apply the style cluster to layer vectorresolution
Name Type Description layerM.layer.Vector layer where the user apply the cluster
mapM.Map -
deactivateChangeEvent(canvas)
impl/ol/style/Cluster.js, line 594 -
TODO
Name Type Description canvasobject -
deactivateChangeResolutionEvent(canvas)
impl/ol/style/Cluster.js, line 615 -
TODO
Name Type Description canvasobject -
deactivateTemporarilyChangeEvent(canvas)
impl/ol/style/Cluster.js, line 639 -
TODO
Name Type Description canvasobject -
removeSelectInteraction()
impl/ol/style/Cluster.js, line 324 -
Remove selected interaction and layer to see the features of cluster
-
selectClusterInteraction()
impl/ol/style/Cluster.js, line 136 -
Gets the select cluster interaction
-
This function set if layer must be animated
Name Type Description animatedboolean defining if layer must be animated
layerM.layer.Vector is the Cluster layer
ClusterM.style.Cluster is the Cluster being chamge the animation
-
This function update a set of ranges defined by user
Name Type Description newRangesArray.<Object> as new Ranges
-
unapply()
impl/ol/style/Cluster.js, line 537 -
This function remove the style to specified layer
-
updateCanvas(canvas)
impl/ol/style/Cluster.js, line 570 -
This function
Name Type Description canvasobject -
updateLastRange_(){object}
impl/ol/style/Cluster.js, line 217 -
This function add the max limit to the last range of cluster options if not exists