FeatureReduction Class

  • FeatureReduction
  • class Esri::ArcGISRuntime::FeatureReduction

    An abstract class for reducing and summarizing point geoelements such as graphics or features. More...

    Header: #include <FeatureReduction.h>
    Since: Esri::ArcGISRuntime 200.2
    Inherits: Esri::ArcGISRuntime::Object
    Inherited By:

    Esri::ArcGISRuntime::AggregationFeatureReduction

    Public Functions

    virtual ~FeatureReduction() override
    Esri::ArcGISRuntime::FeatureReductionType featureReductionType() const
    bool isEnabled() const
    void setEnabled(bool enabled)

    Detailed Description

    Relevant samples:

    • Configure clusters: Add client side feature reduction on a point feature layer that is not pre-configured with clustering.
    • Display clusters: Display a web map with a point feature layer that has feature reduction enabled to aggregate points into clusters.

    Member Function Documentation

    [override virtual] FeatureReduction::~FeatureReduction()

    Destructor.

    Esri::ArcGISRuntime::FeatureReductionType FeatureReduction::featureReductionType() const

    Returns the type of the feature reduction object.

    bool FeatureReduction::isEnabled() const

    Returns true to enable feature reduction, false to show individual geoelements.

    The default value is true. Changing this property from false to true may cause data to be re-calculated.

    void FeatureReduction::setEnabled(bool enabled)

    Sets the enabled to enabled.

    See also isEnabled.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.