Legends
A legend is a group of location types with a heading. On the map page each legend is a box in the sidebar, with the title, the subtitle and a link for each of its location types. Visitors click the links to show or hide those types on the map. With the Select Dropdowns filter type, each legend becomes one dropdown instead.
Examples: a legend Accommodation with the types Hotels, Campsites and Holiday homes, and a legend Food with Restaurants, Cafés and Bars.
Create a legend
- Go to Components > JoomMap > Legends and click New.
- Enter a Title. The alias is made from it if you leave Alias empty.
- Enter a Subtitle if you want a line under the title, for example
(click to toggle). - Set the Status.
- Click Save & Close.
Create at least one legend before you create location types. When there is no legend yet, New in Location Types sends you to the legend form with the message "You should add first some legends".
Order
Legends appear on the map in the order of the Legends list. Sort the list by ordering and drag the rows to change it. Location types inside a legend are sorted by title.
Unpublished legends
When you unpublish a legend, all location types in it and all their locations disappear from the maps. A location with several types still shows under its other types, as long as their legends are published.
A legend shows only what is on the map
The sidebar of a map lists only the legends and types that have at least one published location on that map. A legend without locations on a map does not appear there.