Type to search.

#945 by installs

Leaflet Map

by bozdozVersion 3.4.7

Interactive maps and markers on your posts and pages with simple shortcodes.

Active installs
30,000+
#945 of 1,000
Downloads, all time
601.1K
601,082
Downloads, 30 days
5.3K
1.2K in the last 7
Rating
4.9 / 5
58 reviews
Last updated
2 months ago
Aug 22, 2026
Version
3.4.7
49 releases

Upkeep and compatibility

Last updatedAugust 22, 2026Updated in the last 3 months
Tested up toWordPress 7.1.4Covers WordPress 7.1.4, the current release
Needs WordPress4.6 or newer
Needs PHPNot stated
First publishedMay 7, 2014
Support, last two months1 of 3 threads resolved (33%)

Reviews

4.9 / 5 from 58 reviews

Reviews by star rating
5 stars55
4 stars3
3 stars0
2 stars0
1 star0

Downloads, last 30 days

Low 85 a dayHigh 419 a day

What the author says it does

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.

Maps

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 '[email protected]'; });

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] ...

The opening of the plugin's own description. The full text, installation notes and changelog are on its WordPress.org page.

Questions the author answers

Can I have an SVG Marker?

Yes! Convert the default marker into an svg with a shortcode like this: [leaflet-marker svg color="white" iconClass="fab fa-wordpress-simple" background="red"] The iconClass is perfect for adding a font-awesome icon.

How do I change the style for lines/geojson?

Pass the style attributes to the respective shortcodes (see all options on LeafletJS):

[leaflet-line color="red" weight=10 dasharray="2,15" addresses="Halifax, NS; Tanzania" classname=marching-ants]

Can I add geojson?

Yes, just give it a source URL: [leaflet-geojson src="https://example.com/path/to.geojson"] It will also support leaflet geojson styles or geojson.io styles. Add a popup message with [leaflet-geojson popup_text="hello!"], or add HTML by adding it to the content of the shortcode: [leaflet-geojson]<a href="#">Link here, or use text from a feature property, like {title}</a>[/leaflet-geojson] or identify a geojson…

Can I add kml/gpx?

Sure!? Use the same attributes as leaflet-geojson (above), but use the [leaflet-kml] or [leaflet-gpx] shortcode.

Can I add wms?

Sure. Use the same attributes as leaflet-map, but use the [leaflet-wms] shortcode; attributes include: src, layer, and crs.

Can I add a message to a marker?

Yes: [leaflet-marker visible]Hello there![/leaflet-marker], where visible designates if it is visible on page load. Otherwise it is only visible when clicked.

Latest changelog entry

3.4.7

  • Tested with WordPress 7.1
  • some corrections to option types

Screenshots

First 4 of 8, from WordPress.org.

Tagged

Plugins that share its tags

#955 by installs

MapPress – Google Maps, OpenStreetMap & Leaflet

by chrisvrichardson

Unlimited maps and markers. Free, no API key, no setup. Google Maps, Leaflet, OpenStreetMap & Mapbox. Map editor, blocks and store locators.

Installs
30,000+
Rating
4.7 (147)
Updated
2 days ago

#797 by installs

WP Store Locator

by tijmensmit

Free store locator with OpenStreetMap maps and no API key. Or use Google Maps, Mapbox or Stadia Maps. Unlimited locations, custom fields and markers.

Installs
40,000+
Rating
4.8 (312)
Updated
5 days ago

#919 by installs

MapGeo – Interactive Geo Maps

by MapGeo

Create interactive vector maps of the world, continents, any country in the world and specific regions, including individual US state county maps.

Installs
30,000+
Rating
4.4 (65)
Updated
3 months ago

Where this page's numbers come from

Read from the WordPress.org plugin API on , when WordPress 7.1.4 was the current release. WordPress.org rounds active installs into buckets. These are the directory's figures, not my verdict, and I haven't tested this plugin. The author takes donations at their donate page.