Joomla 6.2.1 Security Update: 58 Fixes, and What It Means for Joomla 5 Sites PHP 8.6 Is Out: New Features With Examples, and When Joomla Will Use Them Next File Manager 6.1.0: share links, Trash, a phone app and a Health check Next Exams 6.3.0: exam parts, scaled scores, listening and speaking tests Next Restaurant 6.1.0: move your data in, run payroll, and connect other systems
NextSoftware
Smart Local Google Maps

Smart Local Google Maps

Smart Local Google Maps is a cookie consent manager for Google Maps on Joomla. It holds back every Google Map on your pages until the visitor agrees, and shows a consent box or a click-to-load placeholder in its place.

21 built-in patterns find Google Maps iframes, the Maps JavaScript API and the map output of 13 extensions, including Widgetkit, YOOtheme Pro, SP Page Builder, Phoca Maps, JEM and Event Booking. The consent box has 5 positions including an inline placeholder, 5 color themes, dark mode, browser-language geo-detection and WCAG 2.1 AA accessibility.

The {smartmap address="..."} shortcode builds a consent-ready map from an address, keyless or through the Google Maps Embed API. For unusual map widgets, add your own regex and check it with a debug mode only Super Users see. Runs on Joomla 4.4, 5 and 6, in 23 languages.

plugin Joomla 4 Joomla 5 Joomla 6
Trusted by agencies & professionals
Screenshots

See it in action

FEATURES

Everything you need

Cookie Consent

Consent collection with safe defaults and no third-party consent service.

Accept & Decline Dialog

Clear, honest choices, with the close button counting as a decline.

Configurable Cookie Lifetime

Session-based or persistent from 1 to 365 days.

Site-Wide Decision

The consent cookie is valid for the whole site, so one choice covers every page.

Privacy Policy Link

Select any Joomla menu item as the privacy page; the consent box links to it automatically.

Secure Cookies & CSRF Protection

HttpOnly, Secure and SameSite=Lax flags, and Joomla's form token on every submission.

Map Detection

Catches Google Maps wherever it comes from in your pages.

21 Built-in Patterns

Google Maps iframes, Maps API script tags, and extension-specific markup.

13 Named Joomla Extensions

Widgetkit, YOOtheme Pro, Gantry, SP Page Builder, Phoca Maps, JCal Pro, JEM, Event Booking and more.

Custom Regex Pattern

Add your own pattern for map widgets the built-ins miss; a broken pattern never breaks the page.

Debug Mode

Lists the patterns that matched on a page, visible only to logged-in Super Users.

Non-Destructive

Maps are removed from the page output only; your content is never modified.

{smartmap} Shortcode

Create consent-ready maps without embed code.

Map From an Address

{smartmap address="..."} or a latitude/longitude pair, anywhere content is rendered.

Keyless or Embed API

Works with no setup, or uses your Google Maps Embed API key; an empty key falls back to keyless.

Per-Map Options

Zoom, map type, width, height, caption and a "Get directions" link.

Consent-Wrapped by Design

A click-to-load placeholder before consent, the map after, a short notice after a decline.

Edit-Safe

Not expanded in the page head, form fields, attributes or front-end edit forms.

Design & Themes

A consent box that fits your brand, not the other way round.

5 Positions Including Inline

Center modal, full-width bottom bar, bottom-right, bottom-left, or an inline placeholder in place of each map.

5 Color Themes

Clean, Midnight, Forest, Slate and Warm — each with a tailored dark palette.

Custom Colors

Background, text and button colors for light and dark mode, applied to the box and every placeholder.

4 Animations

Fade in down, up, left or right for the floating positions, with reduced-motion support.

Custom Headline, Text & Icon

Override the defaults per site without editing language files.

Dark Mode

Automatic or forced dark mode across every theme.

Auto Detection

Follows the visitor's OS or browser preference through prefers-color-scheme.

Force Mode

Always light or always dark, whatever the visitor's setting.

Custom Dark Palette

Define separate dark colors when using custom colors.

Geo-Detection

Show consent where it is required, with no external lookup.

Language-Based Detection

Reads Accept-Language — no IP geolocation, no third-party APIs.

EU, EEA & UK Coverage

The main EU languages, Norwegian (including Bokmål and Nynorsk), Icelandic, and UK/Ireland English.

3 Behaviors for Other Visitors

Auto-agree, show the consent box, or skip the plugin entirely.

Region Toggles

Enable EU, EEA and UK regions independently.

Safe Default

Visitors with no language header always see the consent box.

Accessibility

WCAG 2.1 AA for every visitor.

Keyboard Navigation

Tab, Shift+Tab, Enter and Space; Escape moves focus to the close button.

Focus Where It Belongs

The center modal keeps focus inside the dialog; bar and corner boxes leave the page usable.

Screen Reader Support

ARIA dialog role, labels and a live region on the consent box.

Reduced Motion

Respects prefers-reduced-motion — animations are disabled when requested.

Developer

Modern Joomla architecture with no deprecated APIs.

Joomla 4.4, 5 and 6

One package for all three; the installer checks for PHP 8.1 and Joomla 4.4 first.

Namespace-Based Plugin

Joomla\Plugin\System\SmartLocalGoogleMaps with SubscriberInterface event registration and DI through services/provider.php.

WebAssetManager

CSS and JS loaded through the joomla.asset.json registry.

Demo Mode

Show the consent box on a demo page without real blocking, with a visible Demo badge.

Multilingual

23 languages included (all EU/EEA languages that need consent banners); add any other with standard .ini files

Open Source

GNU General Public License v2 or later.

SIMPLE PRICING

Choose your growth plan

Get started with Smart Local Google Maps today. Upgrade anytime as your needs grow.

Developer

€ 15 1-Year License

Business

€ 25 2-Year License

Agency

€ 35 3-Year License
Instant Digital Delivery Download immediately
Secure Payment Powered by Paddle
Auto-Updates via Joomla Native Joomla updater
CRA Support Period Free for 5+ years
Used by Joomla Professionals Community trusted
SECURITY & COMPLIANCE

Built for the EU Cyber Resilience Act

Free security updates for at least 5 years from your purchase

Every customer, whether their subscription is active or lapsed, can download security fixes from the Customer Portal throughout their support period, in line with the EU Cyber Resilience Act.

Frequently Asked Questions

Getting Started

Install the plugin ZIP through System > Install > Extensions, then enable it under System > Manage > Plugins. It then works on every front-end page that contains Google Maps code, with no further setup.

Google Maps iframes, the Google Maps JavaScript API, and the map output of Widgetkit, YOOtheme Pro, Gantry, SP Page Builder, Advanced Page Builder, Phoca Maps, Mike Reumer Google Maps, BT Google Maps, MyMapList, DG Fotomap, JCal Pro, JEM and Event Booking, plus any div whose id starts with googlemap. For anything else, paste your own regex into the Expert Mode tab.

Type {smartmap address="Your street, Your city"} into an article or a Custom module. The plugin builds the Google Map behind a click-to-load placeholder. Add zoom, maptype, width, height, caption or directions to adjust it.

No. Blocking needs no key, and the shortcode works keyless by default. A key is only used if you choose the Google Maps Embed API as the shortcode's Embed Method.

In the Content tab, use the Privacy Policy Page field to pick any Joomla menu item. The consent box links to it automatically.

Privacy & Compliance

Detected Google Maps code is removed from the page until the visitor explicitly accepts, and shortcode maps are never sent before consent. No map tiles load, no Google cookies are set and no request reaches Google until then. If you turn on geo-detection, visitors outside your consent regions are auto-accepted by default; you can change this. Declining is as easy as accepting.

The plugin reads the visitor's Accept-Language header. If a language matches an EU, EEA or UK/Ireland code, the consent box is shown. No IP geolocation and no external APIs.

You choose under Geo-Detection: auto-agree loads maps immediately, show the consent box lets them decide, or skip the plugin entirely. The default is auto-agree.

No. The HTML that reaches the browser contains no map code, so no tile requests, no maps.googleapis.com script and no Google cookies until the visitor accepts.

Customization

Pick one of 5 built-in themes or choose Custom colors to set the background, text, accept button and decline button colors, for light and dark mode. They apply to the consent box and every placeholder.

Inline (replace map) replaces each detected map with a consent placeholder in the same place instead of a floating box. Set its width and height to match your maps. {smartmap} maps always use this inline placeholder.

Yes. Auto follows the OS preference; Always light and Always dark override it. Each built-in theme has a dark palette, and custom colors have their own dark set.

Expert Mode

Open the Expert Mode tab and paste a PHP regex (with / delimiters and the is flags) into Custom Regex Pattern. The plugin removes every match just like the built-ins. Turn on Debug Mode to check which patterns matched.

It adds a yellow box at the bottom of the page listing every pattern that matched and how often. Only Super Users logged in on the frontend see it.

Yes. Turn on Demo Mode and choose a page under Show on Page. There the consent box always appears with a "Demo" badge, no cookie is saved and maps are not blocked. While demo mode is on, the plugin does nothing on other pages, so use it on a demo or staging site.

Technical

Joomla 4.4 or later, 5.x and 6.x, on PHP 8.1 or higher. The installer stops with a clear message on older versions.

Cookie name slgm-consent, value agree or decline, valid for the whole site. Set with HttpOnly, Secure (when Force HTTPS is set to Entire Site) and SameSite=Lax. Lifetime is session-only or 1–365 days.

23 languages are included: English, German, French, Spanish, Italian, Portuguese, Romanian, Dutch, Swedish, Danish, Finnish, Norwegian, Estonian, Polish, Czech, Slovak, Hungarian, Slovenian, Croatian, Bulgarian, Greek, Latvian and Lithuanian. Joomla uses the one that matches your site language automatically. Every text can also be changed with a Joomla language override, and any other language can be added with standard .ini files.

No. Detection, consent handling and geo-detection run on your server. The only outbound request is Joomla's normal update check; after consent, the visitor's browser loads the map from Google.

All Extensions