Skip to content
joho1968Public

About

Uncomplicated map functionality for WordPress. Verified with WordPress 7.1.x

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Software License PHP 8.1+ WordPress 6.0+

EasyMap

Uncomplicated map functionality for WordPress.

Description

  • Display one map per page with up to 200 locations.
  • Choose OpenStreetMap with locally bundled Leaflet or Google Maps under EasyMap → Maps.
  • New single-site installs start with OpenStreetMap. Existing Google Maps installs keep their provider.
  • Enter latitude and longitude for OpenStreetMap locations. Review the source and applicable terms of existing coordinates before switching providers.
  • Google Maps needs a website-restricted Maps JavaScript API key. Google address lookup uses a separate server-restricted Geocoding API key.
  • Existing Google keys serve lookups until the Geocoding API key field is saved. Clear that field to disable lookups.
  • Configuration exports exclude API keys.

The WordPress slug is easymap.

The plugin is also available on wordpress.org

Basic functionality includes:

  • Up to 200 locations can be displayed
  • Choose to display all or some of the configured locations
  • Choose which Google Maps controls and details to show
  • Support for custom CSS
  • Export and Import locations and plugin configuration
  • Support for multiple location address formats

Other notes:

  • Requires WordPress 6.0 and PHP 8.1 or newer. Tested through WordPress 7.1.
  • Use a maintained PHP branch for hosting. WordPress 6.0 supports PHP through 8.1. Use a newer WordPress release for newer PHP versions. WordPress PHP compatibility
  • This plugin optionally makes use of mb_ PHP functions
  • This plugin may create entries in your PHP error log (if active)
  • EasyMap contains no tracking code. See External services for map and lookup requests.

Installation

This section describes how to install the plugin and get it working.

  1. Install EasyMap or upload the easymap folder to /wp-content/plugins/.
  2. Activate EasyMap in WordPress.
  3. Choose a provider under EasyMap → Maps and add your locations.
  4. Add [easymap_map] to a page or post.

External services

  • OpenStreetMap tiles load directly in the visitor’s browser. Requests expose the visitor’s IP address and site referrer to the tile service. Allow https://tile.openstreetmap.org in the site’s image policy and send a referrer. Tile usage policy · Privacy policy
  • WordPress developers can change the Leaflet tile source with easymap_leaflet_tiles. Provide an HTTPS url with {z}, {x}, and {y} plus the provider’s attribution. The tile URL is public.
  • Google Maps loads Google’s scripts and map data. The Google address lookup sends the location address to Google. Google Maps terms · Google privacy policy
  • Leaflet 1.9.4 ships with its BSD 2-Clause license. Leaflet source

Frequently Asked Questions

Is the plugin locale aware

EasyMap uses standard WordPress functionality to handle localization/locale. The native language localization of the plugin is English. It has been translated to Swedish by the author.

Are there any incompatibilities

This is a hard question to answer. There are no known incompatibilities.

Changelog

1.2.0

  • Add OpenStreetMap with bundled Leaflet alongside Google Maps.
  • Default new single-site installs to OpenStreetMap. Keep Google Maps on existing installs until the provider is changed.
  • Add separate Google Maps and Geocoding keys. Exclude keys from configuration imports and exports.
  • Verify import requests, validate settings and locations before saving, and escape map output.
  • Fix location form redisplay after validation errors and complete opt-in uninstall cleanup.
  • Accept degree signs and compass directions in decimal coordinates. Use zoom levels 8 and 12 for inputs like 08 and 12.5. Add shortcode examples for both providers.
  • Require WordPress 6.0 and PHP 8.1. Tested through WordPress 7.1.

1.1.2

  • Validated with WordPress 6.8 and WordPress 6.9
  • Corrected call to unknown intl() function

1.1.1

  • Validated with WordPress 6.7
  • Verified with Plugin Check (PCP)
  • Corrected some checks for uninstall.php and made it more WP-CLI compatible

1.1.0

  • Location status (active/inactive) is now displayed in admin, and sortable
  • Locations with incomplete geolocation data are no longer displayed
  • Added option to enable "greedy" map control to allow for single finger touch movement on map
  • Added option to enable/disable Google Maps Streetview button
  • Added option to enable/disable Google Maps Fullscreen button

1.0.1

  • Correction of activation issue
  • Better handling of HTML in templates and description fields

1.0.0

  • Initial release

Upgrade Notice

1.2.0

Requires WordPress 6.0 and PHP 8.1. Update them first if needed. Existing installations keep Google Maps until you change the provider in EasyMap settings.

Move easymap-public-custom.css rules to your site's custom CSS before updating. WordPress replaces the plugin directory.

1.1.1

  • Simply update the plugin from the WordPress plugins

1.1.0

  • Simply update the plugin from the WordPress plugins

1.0.1

  • Simply update the plugin from the WordPress plugins

1.0.0

  • Initial release

License

Please see LICENSE for a full copy of GPLv2

Copyright 2021-2025 Joaquim Homrighausen; all rights reserved.

The EasyMap Plugin was written by Joaquim Homrighausen while converting ☕ into code.

EasyMap is sponsored by WebbPlatsen i Sverige AB, Sweden.

Commercial support and customizations for this plugin is available from WebbPlatsen i Sverige AB in 🇸🇪

If you find this plugin useful, the author is happy to receive a donation, good review, or just a kind word.

If there is something you feel to be missing from this plugin, or if you have found a problem with the code or a feature, please do not hesitate to reach out to support@webbplatsen.se.

This plugin can also be downloaded from code.webbplatsen.net and GitHub

More detailed documentation is available at code.webbplatsen.net/documentation/easymap/

Icon and banner images based on freesvg.org/map-location-icon-vector-image. Kudos!

External references

These links are not here for any sort of endorsement or marketing, they're purely for informational purposes.

About

Uncomplicated map functionality for WordPress. Verified with WordPress 7.1.x

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Contributors

Languages