ReviewerFilters Class
ReviewerFilters limit or precisely define which results to generate by applying conditions to a query for dashboard results. Conditions can be spatial or attribute based. You can apply multiple filters to a query.
Constructor
ReviewerFilters
()
Item Index
Methods
addAttributeFilter
(
-
fieldName
-
fieldValues
Queries an attribute by a value.
addRangeFilter
(
-
fieldName
-
min
-
max
Queries an attribute by a range of values.
addSpatialFilter
(
-
geometry
Queries by a polygon. Reviewer workspace geometries that intersect the polygon are used to generate results.
Parameters:
-
geometry
Polygon
getCount
()
Number
Returns the count of ReviewerFilters added
Returns:
Number:
Count of reviewer filters added to this instance.
toJSON
()
JSON Object
Returns a JSON representation of a filter object.
Returns:
JSON Object:
String serialization of ReviewerFilters object.