---
title: "Layer filters | Guides | Map design"
description: "Filter map data using various attributes in Map Designer."
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Layer filters

This page explains how layer filters in MapTiler Map Designer work. With layer filters, the user can select**data** in the map based on various **data attributes**. Thanks to MapTiler Map Designer, you do not need to have deep knowledge about the datasets as the tool shows all the data information on UI.

## Source selection, layer, geometry

To work with layer filters, click on a specific layer and go to the **Data tab**. By clicking on a “plus” button, you will see what **attributes** you can filter out in your map.

![filter-attributes.png](./17327051966225_9f2dbc0af6.webp)

Apart from filters, you can choose your preferred [Data source](https://docs.maptiler.com/guides/map-design/data-sources), Data layer, or Geometry. 

![data-panel.png](./17327075908113_490abd791c.webp)

## Inspect mode

When switched to the Data tab, you can inspect the map on the right side, **click** on it and discover what **attributes** are stored in the data. 

![filter-inspect.png](./17327075915281_9adf1e5d88.webp)

This is similar to Inspect mode in the Maputnik editor. The attribute values can be **copied with a click** and then used in the filters. 

You can also inspect your data in the **Data sources panel** (Alt+D) and check what Layers you use a specific data source in.

![data-sources.png](./17327075918225_b1787c23d7.webp)

## Attributes - How to filter by class

Every layer has a specific set of attributes. The most common for MapTiler data is a **class**(used for classification or hierarchy of map features). A list of classes is available after adding a new Filter > **Filter by attribute: class**.

![filter-class-add.png](./17327051978257_f4e3ff5b77.webp)

For example, water can have various classes, such as lakes, oceans, or rivers.

![filter-class-water.png](./17327075923217_f8b000e5fe.webp)

The filter format can also be switched from Visual to Native, which is similar to the JSON code.

![filter-native.png](./17327051983633_ec8f9e2176.webp)

With filters UI, you can either select all values, multiple values, or one specific value.

![filter-select-one.png](./17328873889937_47731b1da6.webp)

Many other attributes apart from class can be filtered. It depends on what data and layer you are adjusting. The list of attributes is always visible once you click on the “plus” button to add a new filter. Some examples include subclass, name (mostly for labels), oneway, tunnel, toll or ramp for transport etc.

## Other values of attributes

Attributes always have a **“No value” option**. This is to ensure that you can select data without any attribute value filled in. If you would like to omit this (recommended mostly for labels), unselect the No value option.

![filter-no-value.png](./17328841042065_fcebb07f76.webp)

Some filters can also have an **“All values” option**. This option appears for unique values which would not fit into a list (such as capital city names).

![filter-all-values.png](./17329182833169_c695bdcdff.webp)

## Conclusion

MapTiler Map Designer allows users to filter any data attributes. You get a list of possible values on UI or you can inspect the map and copy the values from there.

## Next steps

Continue to [Working with Icons](https://docs.maptiler.com/guides/map-design/icons/) to learn how use a set of icons for displaying points of interest, highway shields, peaks, etc.
