Classes
Type Definitions
- 
    
Options{Object}
 - 
    
    
Properties:
Name Type Argument Default Description attributionsmodule:ol/source/Source~AttributionLike <optional> 
Attributions.
distancenumber <optional> 
20 Minimum distance in pixels between clusters.
geometryFunctionfunction <optional> 
Function that takes an
module:ol/Featureas argument and returns anmodule:ol/geom/Pointas cluster calculation point for the feature. When a feature should not be considered for clustering, the function should returnnull. The default, which works when the underyling source contains point features only, isfunction(feature) { return feature.getGeometry(); }See
module:ol/geom/Polygon~Polygon#getInteriorPointfor a way to get a cluster calculation point for polygons.sourcemodule:ol/source/Vector~VectorSource Source.
wrapXboolean <optional> 
true Whether to wrap the world horizontally.
 
 OpenLayers