Skip to main content

Directory

The Directory is a clickable list next to the map. It can list Regions or Database objects.

Customize how each row looks with the Directory item template and CSS for .mapsvg-directory-item in MapSVG › Menu › CSS.

Click behavior is configured in Actions under Directory item click / hover.

Options

FieldDescription
DirectoryEnables the Directory.
Data sourceWhat to list: Regions or Database. The selected object type is passed into the Directory item template.
LocationWhere the Directory renders: Left sidebar, Right sidebar, Header, Footer, or Custom container. Enable containers in Menu › Settings.
Custom container IDIf Location is Custom, the HTML element ID (without #). Add an empty container on the page, e.g. <div id="my-directory"></div>.
Sort byField used to sort directory items.
Sort directionAscending (A … Z) or descending (Z … A).
Filter outPermanently exclude items that match a field/value (they never appear in the Directory). Objects matching the criteria are excluded.
"No results found" textMessage shown when the filtered list is empty.
CategoriesGroup directory items into collapsible categories. Recommended when pagination is off.
Group byField used for category grouping.
Collapse categories on startStart with category groups collapsed.
Keep only one category openOpening one category collapses the others.
Hide empty categoriesHide categories that currently have no items.
Hide on mobile devicesOn small screens, hide the Directory and show Map / Directory switch buttons below the map.
Mobile: show firstWhen the Directory is hidden on mobile, which view opens first: Map or Directory.
Mobile: directory min-heightMinimum height in pixels when the Directory is shown via the mobile switcher (e.g. 400). Only applies when Hide on mobile devices is on.
Mobile: switch to map view on click on a directory itemAfter tapping a directory item on mobile, switch back to the map view (On / Off).
  • Actions — Directory item click and hover
  • Templates — Directory item template
  • Filters — search and filter controls
  • Settings — containers and mobile Map / Directory button labels