M/ClusteredFeature~Clustered


import Clustered from 'M/ClusteredFeature';

Main constructor of the class. Creates a Clustered Feature, which is a group of features that will be represented as a single element in the map.

new Clustered(features, attributes)

facade/js/feature/Clustered.js, line 21
Name Type Description
features Array.<M.Feature>

features inside the cluster

attributes Object

cluster attributes, as in M.Style.Cluster

Extends

  • M.Feature