OpenLayers. Strategy. Cluster

Strategy for vector feature clustering.

Inherits from

Summary
OpenLayers. Strategy. ClusterStrategy for vector feature clustering.
Properties
distance{Integer} Pixel distance between features that should be considered a single cluster.
Constructor
OpenLayers. Strategy. ClusterCreate a new clustering strategy.
Functions
activateActivate the strategy.
deactivateDeactivate the strategy.

Properties

distance

{Integer} Pixel distance between features that should be considered a single cluster.  Default is 20 pixels.

Constructor

OpenLayers. Strategy. Cluster

Create a new clustering strategy.

Parameters

options{Object} Optional object whose properties will be set on the instance.

Functions

activate

activate: function()

Activate the strategy.  Register any listeners, do appropriate setup.

Returns

{Boolean} The strategy was successfully activated.

deactivate

deactivate: function()

Deactivate the strategy.  Unregister any listeners, do appropriate tear-down.

Returns

{Boolean} The strategy was successfully deactivated.

activate: function()
Activate the strategy.
deactivate: function()
Deactivate the strategy.
Abstract vector layer strategy class.
Close