Smart GEO GMap
Embed a Google Map with a shortcode and draw your own GeoJSON boundaries, shapes, markers and info windows on it.
Install in
Smart GEO GMap adds a Google Map to any page or post with a single shortcode, [smart_geo_gmap], and draws your own geographic data on it.
Upload up to 3 GeoJSON files to show boundaries, shapes and markers. Every feature gets an info window (tooltip) with its properties. Give the map a new look with a Snazzy Maps skin, add recenter buttons for up to 3 locations and a legend with your own labels.
Everything is configured from the admin panel: no coding needed.
Live demo: Smart GEO GMap live demo
Features
- One shortcode:
[smart_geo_gmap] - Up to 3 GeoJSON files: boundaries, shapes, markers and info windows
- Info windows opened on mouseover or click
- Up to 3 recenter buttons to jump between locations
- One Snazzy Maps skin to style the map
- Map type: roadmap, satellite, hybrid or terrain
- Zoom: world, landmass/continent, city, streets or buildings
- Full width or half width (centered) map
- Legend with icons and labels, placed where you want on the map
- Responsive and full-screen map
- The map scripts load only on pages that show the map
What you need
A Google Maps API key with the Maps JavaScript API enabled, on a Google Cloud project with billing. Google gives a monthly free usage tier. How to get an API key
Source code
Development happens on GitHub: github.com/gmaccario/smart_geo-gmap. Bug reports and pull requests are welcome.
External services
This plugin uses the Google Maps JavaScript API, provided by Google, to display the map.
- What is sent and when: on pages that contain the
[smart_geo_gmap]shortcode, the visitor’s browser loads the API frommaps.googleapis.comwith your Google API key. Google receives the visitor’s IP address and browser information, and the map requests needed to draw the map (for example the area and zoom level being viewed). The URLs of your GeoJSON files are loaded by the visitor’s browser from your own site. - No data is sent on pages without the shortcode, or from the admin panel.
- Google Maps Platform Terms of Service: https://cloud.google.com/maps-platform/terms
- Google Privacy Policy: https://policies.google.com/privacy
Snazzy Maps skins are files you download from snazzymaps.com and upload yourself: the plugin doesn’t connect to Snazzy Maps.
Written by Joobi from the project's own listing. See the source page
1.6.5 – 2026-11-19
- Security: every setting is sanitized on save.
- Lat/Long fields are validated: an invalid value is not saved and an error notice explains why.
- “Google Key missing” is shown to administrators only.
- The map script no longer defines global variables that could clash with the theme or other plugins.
- The plugin can be translated: text domain is now smart-geo-gmap.
- Fix: the map no longer breaks when the legend is enabled without a position.
- File uploads and deletions verify the settings nonce, and use the WordPress file functions.
1.6.4 – 2026-11-17
- Fix: the Snazzy Maps skin is applied to the map again.
- Fix: map settings with quotes, backslashes or new lines no longer break the map.
- Fix: uploaded files are found after the site moves to another server or folder.
- Fix: PHP warnings when all GeoJSON files are deleted or a coordinate is malformed.
- Fix: safer uninstall when the upload folders don’t exist.
- Improvement: the map scripts load only on pages that use the shortcode.
- Improvement: the Google Maps API loads asynchronously.
- Remove an unused dependency.
1.6.3 – 2026-11-17
- Tested up to WordPress 7.1.
- PHP 8.4 compatibility: fix implicitly nullable parameter deprecations.
- Update Parsedown to 1.8.0.
- Admin: show “Settings saved” and upload error notices.
- Admin: fix the Files tab markup, field labels, active tab style and shortcode copy button.
1.6.2 – 2024-05-06
- Small changes.
1.6.1
- Bug fix.
1.6
- Fix file links.
- Admin panel restyling.
- The Google API key field is now a password field, with a button to show it.
- Fix CSS classes.
- Add the Documentation tab in the admin panel.
- Update screenshots.
1.5
- Architecture refactoring.
- Backward compatibility with the settings of previous versions.
- Full width or half width (centered) map.
- Map type setting.
- Dynamic legend.
- Minor fixes.
Follow this listing's changes (Atom feed)