Map Block Leaflet


The Map Block Leaflet is designed to work with the Gutenberg editor. It has been created to facilitate, as much as possible, embed maps in the content without the need to include an API key and be able to customize it visually.


This plugin is open source software, and you may actively contribute on Github.

Installation & Setup

Note: This plugin requires WordPress 5 or the Gutenberg plugin active.

  1. Upload ‚leaflet-map-block‘ to the ‚/wp-content/plugins/‘ directory.
  2. Activate the plugin through the ‚Plugins‘ menu in WordPress.
  3. Add new block, find it in the category embed.
  4. Search a location and change the option until you get the disdained look.
  5. Publish and enjoy

Snímky obrazovky

  • Simple map within the editor
  • Realistic theme map


Tento plugin poskytuje 1 blok.

Map Block Leaflet


10. 3. 2020
Works great, looks great; highly recommended. I wanted to avoid gutenburg in my own plugin, and this plugin seems to work perfectly. - Author of
15. 5. 2019
Forget Google Maps, Leaflet Maps, are open source map coming to the rescue, and this plugin is perfect to implement them in a light, easy and quick way. Download and fire on the plugin, Add a Map Leaflet Block in your page or post and enjoy six flavors to present it. This plugin is a must
27. 1. 2019
If you don't want Google and you just want a map in a post for example in a contact form then this plugin is perfect, because it is very easy to use quick search of addresses the marker can be dragged!! different kind of maps can be chosen Put on the good work Jesús! May be my wishes will be fullfilled in the future :). I would like a map with multiple markers. I would like to switch icons. more possibilities in the text of the content but may be I want too much 🙂
Přečtěte si všech 5 recenzí


Map Block Leaflet je otevřený software. Následující lidé přispěli k vývoji tohoto pluginu.


Plugin „Map Block Leaflet“ byl přeložen do 1 jazyku. Děkujeme všem překladatelům za jejich pomoc.

Přeložte “Map Block Leaflet” do svého jazyka.

Zajímá vás vývoj?

Prohledejte kód, podívejte se do SVN repozitáře, nebo se přihlaste k odběru protokolu vývoje pomocí RSS.

Přehled změn


  • Improvement. Update version of library Leaflet map
  • Improvement. Update block dependencies


  • fix. Update version files


  • Improvement. Support custom theme provider, thanks to @jeroensmeets
  • Improvement. Add new theme watercolor


  • Fix. After update a post remove number attributes, thanks to @davinian @jeroensmeets


  • Improvement. Allow newlines in tooltip text, thanks to @daviewales
  • Fix. Define variables and prevent php notices, thanks to @davinian @bjoluc


  • Security. Escape tooltip content
  • Improvement. Update version of library Leaflet map
  • Improvement. Add assets library Leaflet map


  • Improvement. Conditionally Load frontend assets


  • Improvement. Improve the theme selector
  • Improvement. Update version of library Leaflet map
  • Improvement. Disabled zoom by default


  • Bug Fix. No allow align left & right
  • Improvement. Resize behaviour
  • Improvement. Support themes with transtions pages
  • Improvement. Option disable scroll zoom


  • Bug Fix. Grayscale theme does not work
  • Bug Fix. The search engine appears over the block´s toolbar
  • Improvement. Allow alignments


  • Initial release on