Meta Box
91Meta Box plugin is a powerful, professional developer toolkit to create custom meta boxes and custom fields fo...
Interactive maps and markers on your posts and pages with simple shortcodes.
Leaflet Map is a WordPress plugin that allows you to create interactive maps using the LeafletJS library. It supports map generation with OpenStreetMap or MapQuest tiles and can be customised through shortcode attributes or dashboard settings.
You can create maps by simply using shortcodes, look up addresses, and add markers with popups for additional information. This plugin is suitable for users who need to display geographical data or locations on their WordPress sites.
Best for: This plugin is best for WordPress users needing to display interactive maps on their sites.
What it does well
Where it falls short
Leaflet Map provides a straightforward way to integrate interactive maps into WordPress. It is a solid choice for those looking to enhance their site with geographical features.
bozdoz's own description of Leaflet Map, lightly tidied.
Add a map generated with LeafletJS: an open-source JavaScript library for mobile-friendly interactive maps. Map tiles are provided by default through OpenStreetMap, or MapQuest (with an app key). Can be set per map with shortcode attributes or through the dashboard settings.
Simply create a map with:
[leaflet-map]
Lookup an address with:
[leaflet-map address="chicago"]
When using the OpenStreetMap Nominatim geocoder, the plugin sends a contact email in the request user agent. By default this uses the site admin email, but you can override it in the plugin settings or with the leaflet_map_nominatim_contact_email filter.
add_filter('leaflet_map_nominatim_contact_email', function ($email) { return 'maps@example.com'; });
Know the latitude and longitude of a location? Use them (and a zoom level) with:
[leaflet-map lat=44.67 lng=-63.61 zoom=5]
Add a marker under your map shortcode, like so:
[leaflet-map]
[leaflet-marker]
Want more? Make more (and fit the map to contain all of them):
[leaflet-map fitbounds]
[leaflet-marker address="tokyo"]
[leaflet-marker address="oslo"]
[leaflet-marker address="cairo"]
[leaflet-marker address="toronto"]
You can even add popups (to any shape) with their names:
[leaflet-map fitbounds]
[leaflet-marker address="tokyo"]Tokyo[/leaflet-marker]
[leaflet-marker address="oslo"]Oslo[/leaflet-marker]
...
Other plugins for maps and locations.
Meta Box plugin is a powerful, professional developer toolkit to create custom meta boxes and custom fields fo...
The easiest to use WordPress map plugin! Create a custom map, map block, store locator or map widget with high...
Real-time WordPress analytics that stay on your own server: pageviews, outbound links, WooCommerce funnels, al...
Create custom interactive maps with free Leaflet-based styles, no Google Maps API key, frontend marker submiss...
An easy to use location management system that enables users to search for nearby physical stores.
Create interactive images with clickable hotspots, using modern image maps for WordPress. Perfect for floor pl...