Skip to content

MbStyleFilter

Namespace: ThinkGeo.Core

public static class MbStyleFilter

Inheritance ObjectMbStyleFilter

Methods

Parse(JsonElement)

Parses the filter conditions from the "filter" JSON element.

internal static List<FilterCondition> Parse(JsonElement filterElement)

Parameters

filterElement JsonElement
The JSON element representing the filter conditions.

Returns

List<FilterCondition>
A list of filter conditions parsed from the JSON element.

Remarks:

Supported operations include: "all" - Represents a logical "AND" operation."match" - Represents a matching operation."==" - Represents an equality comparison operation."!=" - Represents a non-equality comparison operation.">" - Represents a greater-than comparison operation.">=" - Represents a greater-than or equal comparison operation."<" - Represents a less-than comparison operation."<=" - Represents a less-than or equal comparison operation."in" - Represents a match operation in a list of possible values."!in" - Represents a match operation not in a list of possible values."has" - Represents a has column operation."!has" - Represents a missing column operation.