Aggregate Geo Element
A GeoElement that represents aggregated geoelement on the map, for example a cluster of features or graphics. Based on aggregation properties defined in AggregationFeatureReduction, geoelements are aggregated dynamically as the scale of the map changes. AggregateGeoElement.attributes are the summary statistics defined at the time of configuring aggregation on a FeatureLayer. AggregateGeoElement.geometry is a GeometryType.Point representing the centroid of the aggregated geoelement. By default, AggregateGeoElement has a cluster_count attribute. Aggregated geoelements only have access to the fields listed in AggregationFeatureReduction.aggregateFields. The fields from the feature layer are not accessible for use in popups, labels, or renderers for aggregated geoelements.
You can select or unselect aggregate geoelements using the AggregateGeoElement.isSelected property. Call AggregateGeoElement.getGeoElements() to get the collection of geoelements represented by the aggregate geoelement.
Since
200.2.0
See also
Properties
True if the aggregate geoelement is selected, false otherwise. Selecting an AggregateGeoElement adds a temporary visual selection halo around the aggregate geoelement. Selected aggregate geoelements are rendered according to the GeoView.selectionProperties.
Inherited properties
The attributes of the GeoElement as a collection of name/value pairs.
The geometry defines the shape and location of the GeoElement.