• VectorTileStyleLayerFilterExpression
  • class Esri::ArcGISRuntime::VectorTileStyleLayerFilterExpression

    A validated expression that determines which features in a vector tile style layer are rendered. More...

    Header: #include <VectorTileStyleLayerFilterExpression.h>
    Since: Esri::ArcGISRuntime 300.2
    Inherits: Esri::ArcGISRuntime::Object

    Public Functions

    virtual ~VectorTileStyleLayerFilterExpression() override
    QString expression() const

    Static Public Members

    Esri::ArcGISRuntime::VectorTileStyleLayerFilterExpression *create(const QString &expression, QObject *parent = nullptr)

    Detailed Description

    *

    The expression is a JSON array that follows the vector tile specification for filter expressions. Its syntax is validated when the expression is created.

    Member Function Documentation

    [override virtual noexcept] VectorTileStyleLayerFilterExpression::~VectorTileStyleLayerFilterExpression()

    Destructor.

    [static] Esri::ArcGISRuntime::VectorTileStyleLayerFilterExpression *VectorTileStyleLayerFilterExpression::create(const QString &expression, QObject *parent = nullptr)

    Returns a new VectorTileStyleLayerFilterExpression from the specified JSON string.

    • expression - A string containing the filter expression as a JSON array.
    • parent - The optional parent QObject.

    QString VectorTileStyleLayerFilterExpression::expression() const

    Returns the string that was used to create the filter expression.