Skip to main content
Version: 4.62

Filters

Fields that are used to create a filter that will be displayed on top of the map.

This type is a list with the following entry types:

KeyTypeDescriptionDefault Value
"displayName"StringDefines the text displayed for the filter.null
"filter"StringDefines the value that is used in the query to determine if filter is active or not.null
"filterQuery"StringDefines the query that is executed to retrieve filtered content from the database table.null
"isInitiallySelected"BooleanDefines whether filter is active at the initial state.false
"isSingleFilter"BooleanDefines whether filter can be only selected as a single filter.false
"noDataText"StringDefines the text to be displayed if no content after selecting the filter."There is nothing to display"
"primaryColor"ColorDefines the primary color of the filter that is used when the filter is active."#000000"
"secondaryColor"ColorDefines the secondary color of the filter, which affects the text content of the filter when it is active."#ffffffff"
"unreadCount"StringThe query that is executed to retrieve an unread content count, if it is specified. The result of the query must contain the column named _count.null