For the complete documentation index, see llms.txt. This page is also available as Markdown.

Adding filters

Filters allow users to narrow their search according to their specific requirements. Simply add an additional column on the right of your CSV file, after the 'Notes' column. Filters are optional.

Filters and filter values

A filter is a way to group your locations, such as "Seating Type". Each filter has filter values, which are the options inside it, such as "Indoor seating" and "Outdoor seating". Map users pick one or more filter values to see only the locations that match.

  • Filter = a column in your CSV file. The column name is the filter name.

  • Filter value = what you enter in that column for each location.

In this example, "Seating Type" is the filter. It has three filter values: "Indoor seating", "Outdoor seating" and "No seating".

Name
Seating Type

Cafe A

Indoor seating

Cafe B

Outdoor seating

Cafe C

Indoor seating, Outdoor seating

Kiosk D

No seating

Each row is one location, and each location can have one filter value or several. Cafe C has two values, separated by a comma, so it appears when a map user picks either "Indoor seating" or "Outdoor seating".

You can add multiple filters by adding more columns. Each location can have values in up to 10 filter columns. If any row contains values in more than 10 filter columns, Maps rejects the CSV file and shows the error Maximum of 10 filter columns allowed.

Set up your CSV file as follows

Do note that the name of your column (in the example below, "Seating Type") will determine the name of your filter.

Column name (Filter name)
Description
Example

Seating Type

The column name will be the Filter Name. Enter the filter values for each location in the corresponding fields in this column. For points with multiple values under a single filter, separate them with commas.

Indoor Seating, Outdoor seating, No seating

What it looks like on Maps

After setting up your CSV file, upload it to Maps and preview your locations mapped out accordingly in draft mode.

Filters will appear right below the search bar.

Users can click on each filter and interact with the dropdown menu to choose filter values and search for specific locations within their requirements.

Colour your markers by filter value

Once your map has a filter, you can give each filter value its own marker colour. See Applying colours to markers.

Last updated