Multilevel categories is a powerful feature to organize your locations on a map with nested categories. The different levels of categories are called parent categories and the categories within them called subcategories or children categories.
Why use multilevel categories on your maps?
Multilevel categories improve user’s experience and let them find relevant content more easily.
When using one level of categories, you want to limit the number of categories to no more than 10. Beyond 10 categories, it becomes difficult for users to browse through the list of categories and find relevant content. However, in many cases, limiting your number of categories does not let you organize your content with the level granularity needed.
WIth multilevel categories, you can minimize your number of categories at each level and still manage to organize your content with a high level of focus.
As a result, with categories and subcategories, it’s easy for your map users to find relevant content on your map.
Use cases for multi-level categories
There is a broad range of use cases for multilevel categories on maps. Here are a few examples:
How to create multilevel categories?
For each parent category on your map, you can select which categories should be used as subcategories:
- Click on a category
- select categories from the list of possible subcategories
A category can be assigned as a subcategory for multiple parent categories.
Note: currently, a category cannot be both a parent and a subcategory.
How are multilevel categories filtered?
Single and multiple category selection
Multilevel categories support both single and multiple category selection modes. With the multiple categories selection modes, your map viewer can choose to view and filter multiple categories and subcategories.
With the multilevel categories, you can choose which type of filters will apply between the parent categories, the subcategories, and the parent to subcategory relationship.
With this advanced feature, you can cover a very broad range of location filtering on your map.
Check out the multilevel category filters guide.
Which markers are displayed on the map?
When locations belong to multiple categories and subcategories, it can be challenging to display a meaningful marker.
By default, Mapme displays markers based on the following rules:
- On the map overview, we display the parent category marker
- On filtered views, we display the subcategory marker
If a location belongs to multiple parents or subcategories, we display the marker from the first category or subcategory in the list.
However, you can change the default behavior with the marker override.
Customization of the multilevel category interface
Like any element in the Mapme user interface, the multilevel category user interface can be customized with the CSS editor.
For example, you can change the text “Select All” to translate it into your local language.
Click here to find examples of CSS customization for the multilevel category interface.