# LayerFilters

***

The filters that are currently set on a layer.

A layer's filters are the combination of various different places\
in which filters can be applied.

## Properties

### style

> **style**: [`Filters`](/js-sdk-api-reference/layers/filters.md)

Filters that are set in the layer's style. These are the lowest level\
of filters, and can only be set by editing the map.

***

### components

> **components**: [`Filters`](/js-sdk-api-reference/layers/filters.md)

Filters that are set in the layer's components, which are interactive\
elements in the legend. These can be set by viewers for their own session,\
but their default value can be set by the map creator.

***

### ephemeral

> **ephemeral**: [`Filters`](/js-sdk-api-reference/layers/filters.md)

Filters that are set ephemerally by viewers in their own session.

These are the filters that are set when the [\`setLayerFilters\`](/js-sdk-api-reference/layers/layerscontroller.md#setlayerfilters) method is\
called. There is no way to set these in the Felt UI - they can only be\
set using the SDK.

***

### combined

> **combined**: [`Filters`](/js-sdk-api-reference/layers/filters.md)

The combined result of all the filters set on the layer.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.felt.com/js-sdk-api-reference/layers/layerfilters.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
