Events Map

Events Map displays JEM events geographically on an interactive map. It is designed for sites where the location of the event is as important as the event date or category: festivals, cultural agendas, regional directories, museum programmes, venue networks and community calendars.

The map uses event data together with venue coordinates. For an event to appear accurately on the map, it must be assigned to a venue with valid latitude and longitude values.

Marker icons from JEM 5.0.1: Events Map can use icons assigned to event, category and venue types. The configured venue marker remains available as the fallback when no applicable type icon is defined.

When To Use This View

ScenarioRecommended useWhy
Regional event directory Show all events with venue coordinates. Visitors can discover events by location.
Festival or city agenda Use category and date filters. Visitors can narrow the map to the events they want.
Country-specific event map Enable country filter or set a default country. Keeps the map focused when the site has international venues.
Venue network Use a wider zoom and marker clustering or heat behaviour where available. Shows event distribution across many locations.
Mobile discovery page Enable “My location” and use a practical map height. Users can relate events to their current position.

Data Requirements

RequirementNeeded forNotes
Event assigned to a venue Map marker creation. Events without a venue cannot be positioned geographically.
Venue latitude Map marker position. Use decimal coordinates.
Venue longitude Map marker position. Use decimal coordinates.
Published event Frontend visibility. Unpublished events are not normally shown to visitors.
Accessible category and event Permission-aware output. JEM respects Joomla and JEM access rules.
Type icon Custom map marker. Optional. An icon can be assigned to an event type, category type or venue type.

Map Options

OptionDefaultPurpose
Map center latitude 54.526 Fallback latitude used to centre the map.
Map center longitude 15.255 Fallback longitude used to centre the map.
Map zoom 4 Initial zoom level. Lower values show larger areas; higher values show more detail.
Map provider OpenStreetMap Selects OpenStreetMap/Leaflet or Google Maps. Google Maps requires a valid API key in JEM settings.
Map type Political Chooses the base map style, such as political or physical.
Show my location Yes Allows visitors to use their browser location if supported and permitted.
Full screen map Yes Allows a larger map experience where supported by the layout.
Show directions link Yes Shows a navigation link in each marker popup.
Show full map link Yes Shows a link that opens the selected coordinates in the full external map.
Heat layer Yes Highlights geographic concentration of events.
Venue marker file media/com_jem/images/marker-red.webp Fallback marker image used when the applicable event, category and venue types do not provide an icon.
My location marker file media/com_jem/images/marker-blue.webp Marker image used only for the visitor’s own location.
Map height 500px Controls the visible height of the map area.
Show events table Yes Displays the event list below the map.

Frontend Filters

The Events Map view can expose filters directly to visitors. These filters are especially useful when the map contains many markers.

FilterDefaultVisitor effect
Date filter Shown Allows filtering by All, Today, Day, Week, Month or Year. Tomorrow is available only as an initial preset in the menu Options.
Date filter default All Defines the initial date range when the page loads.
Category filter Hidden Allows visitors to filter events by category.
Category selection Empty Can limit the available categories shown in the map filter.
Country filter Hidden Allows visitors to filter events by venue country.
Default country None Starts the map filtered to one country when required.

Date Filter Behaviour — JEM 5.1

Open Menus → your menu → Events Map → Options to enable the date controls and choose the initial date filter. Dates use the Joomla site timezone; weeks follow the first weekday configured in JEM.

ModeResult
All Removes the date restriction while keeping category, location and access restrictions. Navigation arrows are disabled.
Today Selects today's date and displays its events.
Day Displays the selected date. If no valid date is selected, it uses today.
Week Displays the complete week containing the selected date. The calendar shows the first day of that week.
Month Displays the complete month containing the selected date. The calendar shows the first day of that month.
Year Displays the complete year containing the selected date. The calendar shows 1 January.

Tomorrow in Options: administrators can still select Tomorrow as the initial preset. The frontend opens with Day selected and tomorrow's date in the calendar. Visitors do not see a Tomorrow button.

Date Navigation Arrows

Selected mode<<<>>>
Today 7 days before today Yesterday Tomorrow 7 days after today
Day 7 days earlier Previous day Next day 7 days later
Week One calendar month earlier Previous week Next week One calendar month later
Month Same month, previous year Previous month Next month Same month, next year
Year Not shown Previous year Next year Not shown
All Disabled Disabled Disabled Disabled

After using any arrow in Today, Today is deselected and Day is selected. In Day, Week, Month and Year, navigation keeps the selected mode. Each arrow has a tooltip describing its current action.

In Week mode, a double arrow moves the displayed date by one calendar month, then selects the complete week containing the resulting date. Month-end dates are adjusted to the last valid day when necessary.

Changing modes keeps the selected date as the reference, except Today, which resets it to today, and All, which clears the date restriction. Changing the calendar date keeps Week, Month or Year active; in other modes it selects Day.

Every date or period change refreshes the map and event table together, keeping the other active filters. Print and PDF output retain the same effective period and filters.

Examples

  • Tomorrow's events: click Today, then >. Day becomes selected with tomorrow's date.
  • Weekly programme: with Monday as the first weekday, select 9 November 2026 and Week. The range is 9–15 November; > changes it to 16–22 November.
  • Compare the same month next year: select November 2026 and Month, then >>. The map and table show November 2027.

Category And Country Filtering

Category and country filters are optional. They should be enabled when the map contains enough events that visitors need a way to reduce the marker set.

ConfigurationBest forNotes
No category filter Small maps with few categories. Keeps the interface simple.
Category filter enabled Large programmes with many topics. Visitors can focus on concerts, talks, tours, workshops or other categories.
No country filter Single-country sites. A country selector is unnecessary if all events are local.
Country filter enabled International or multi-region sites. Visitors can quickly reduce the visible area.
Default country set Sites with a primary country and occasional international venues. The page opens focused, but can still allow wider discovery if the filter is shown.

Location Filters And Table Columns — JEM 5.1

In the Events Map menu Options, the administrator can show or hide the Country, State / Region, County and City filters and set their default values. A hidden location filter with a configured default still restricts the results. A visible filter can be changed or cleared by the visitor.

Location choices come from existing JEM venues. Selecting a country narrows the region, county and city choices; selecting a region or county narrows its descendants. Changing a parent clears the lower selections. A county does not have to be selected to choose a city within the selected country.

These are map filters. Venue address fields remain manually editable, with the existing country selector. Keep place names consistent when entering venues.

The administrator can independently show or hide the Country, County and City columns in the event table. Hiding a column saves space without changing the active filters. The PDF follows these column settings and centres the heading and links in its Map column.

Map Markers And Event Popups

Each marker represents a venue with one or more events in the selected date and filter range. Its popup normally contains the venue name, the matching events and links to the corresponding detail pages.

Marker Icon Priority

JEM uses the most specific available type icon. The priority for Events Map is:

  1. Event type icon
  2. Category type icon
  3. Venue type icon
  4. Configured global venue marker

The configured venue marker is therefore a fallback, not an override for an assigned type icon. With the default configuration, the fallback is the red marker at media/com_jem/images/marker-red.webp.

Shared venues: when several visible events use the same venue coordinates, Events Map groups them into one marker. JEM uses the highest icon priority available among those events. If several visible events provide different icons at the same priority level, the first matching event in the current map result determines the icon.

Marker sourceDisplayed whenImportant data
Type marker An applicable event, category or venue type has an icon. The icon and colour come from the highest-priority applicable type.
Global venue marker No applicable type has an icon. Uses the configured Venue marker file.
My location marker The visitor allows browser geolocation. Used only for visitor orientation; it does not alter event or venue data.
Heat layer Heat layer is enabled and enough markers exist. Shows event density rather than only individual points.

Practical Marker Examples

ConfigurationMarker shown
The event type has an icon; its category and venue types also have icons. The event type icon.
The event type has no icon, but one of its category types has an icon. The category type icon.
Neither the event type nor category type has an icon, but the venue type does. The venue type icon.
No applicable type has an icon. The configured global venue marker.
Several events share a venue and at least one visible event has an event type icon. An event type icon, because it has higher priority than category and venue type icons.

Menu Item Target

The JEM Itemid option can be used to control the target menu item for links generated from the map. This helps keep URLs, modules and breadcrumbs consistent when the visitor clicks from a map marker to an event or venue page.

SetupResult
No target Itemid selected Joomla and JEM resolve links using the available routing context.
Target Itemid selected Links from the map can point through a specific JEM menu context.

Page Text

Events Map supports page intro and footer text. This is important because map-based pages often need a short explanation: what the map shows, how filters work, whether only geocoded venues are visible, and how users can submit missing venues.

Text areaPositionExample use
Introtext Below the page heading and above the map. “This map shows upcoming events with confirmed venue coordinates.”
Footer text Below the map and list output. “Only venues with GPS coordinates are displayed. Submit corrections using the venue form.”

Recommended Configurations

Map typeRecommended optionsReason
Local city map Higher zoom, date filter enabled, category filter enabled and country filter disabled. The visitor is already in one geographic area.
National event map Medium zoom, country default set and date filter enabled. Keeps the first view focused on the country.
International event map Lower zoom, country filter enabled and category filter enabled. Visitors need tools to reduce a large marker set.
Festival map Specific date or week as default, category filter enabled and type icons assigned where useful. Type icons help distinguish event programmes in a dense map.
Venue discovery map All dates, heat layer enabled and my location enabled. Helps users explore where events usually happen.

Troubleshooting

ProblemLikely causeSolution
An event does not appear on the map. The event has no venue, or the venue has no valid coordinates. Edit the venue and add latitude and longitude.
The expected type icon is not shown. The type has no icon, is unpublished, is inaccessible, or a higher-priority type icon applies. Check the event, category and venue type assignments, icon fields, publication states and access levels.
The configured venue marker is not shown. An applicable event, category or venue type has an icon. This is expected. The configured venue marker is only used as the fallback.
The map opens in the wrong area. Fallback centre or zoom is not appropriate, or auto-centre has no valid markers. Set map centre latitude, longitude and zoom for the site region.
Country filter shows too many countries. The site country list is not restricted. Use the JEM country settings to keep only relevant active countries.
Visitors cannot use “My location”. Browser permission denied or the site context does not allow geolocation. Ask the visitor to allow location access; HTTPS may be required by browsers.
Markers are too crowded. The map contains too many events for the current zoom or filter. Enable category, date or country filters, or adjust the default date range.

Technical Notes

  • Events Map groups matching events by venue or coordinates before rendering the marker.
  • Type icon values are validated as CSS icon classes before they are inserted into the map marker.
  • Type colours are validated before being used as marker background colours, and JEM calculates a contrasting icon colour for readability.
  • The same priority is applied by both the OpenStreetMap/Leaflet and Google Maps renderers.
  • Type and category access rules are respected when resolving the marker icon.

Related Project Notes

  • #2289 introduces the configured marker fallback and type-icon priority for map markers.
  • #2032 discusses frontend category selection in map-related functionality.
  • #2035 covers venue filtering concepts in calendar and map-style views.
  • #2151 discusses country availability management for selectors and filters.
  • #2131 relates to generating a complete JEM frontend menu.
  • #2154 standardises intro and footer text options across JEM views.