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
| Field | Description |
|---|---|
| Directory | Enables the Directory. |
| Data source | What to list: Regions or Database. The selected object type is passed into the Directory item template. |
| Location | Where the Directory renders: Left sidebar, Right sidebar, Header, Footer, or Custom container. Enable containers in Menu › Settings. |
| Custom container ID | If Location is Custom, the HTML element ID (without #). Add an empty container on the page, e.g. <div id="my-directory"></div>. |
| Sort by | Field used to sort directory items. |
| Sort direction | Ascending (A … Z) or descending (Z … A). |
| Filter out | Permanently exclude items that match a field/value (they never appear in the Directory). Objects matching the criteria are excluded. |
| "No results found" text | Message shown when the filtered list is empty. |
| Categories | Group directory items into collapsible categories. Recommended when pagination is off. |
| Group by | Field used for category grouping. |
| Collapse categories on start | Start with category groups collapsed. |
| Keep only one category open | Opening one category collapses the others. |
| Hide empty categories | Hide categories that currently have no items. |
| Hide on mobile devices | On small screens, hide the Directory and show Map / Directory switch buttons below the map. |
| Mobile: show first | When the Directory is hidden on mobile, which view opens first: Map or Directory. |
| Mobile: directory min-height | Minimum 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 item | After tapping a directory item on mobile, switch back to the map view (On / Off). |