A map block for Gutenberg which uses OpenStreetMap and Leaflet.js . It needs no API keys and works out of the box (or, out of the Block, if you prefer). Benefiting from Gutenberg’s potential, the plugin tries a different take on how to add your locations on the map and rethinks a few things, UX-wise
PricingFree downloadThe WordPress.org download is free. Pro versions, add-ons or external services may cost extra.
CompatibilityRequires WordPress 6.6 and PHP 8.1.
SourceWordPress plugins · Dec 1, 2026
01 / Source details
Aboutthistool.
A map block for Gutenberg which uses OpenStreetMap and Leaflet.js . It needs no API keys and works out of the box (or, out of the Block, if you prefer). Benefiting from Gutenberg’s potential, the plugin tries a different take on how to add your locations on the map and rethinks a few things, UX-wise.
Instead of manually adding coordinates for each one of your markers, just click-and-drop them directly on the map. You want to adjust their position? Just drag them wherever you want. And instead of filling-in custom fields to set each marker’s popup content, just open that popup and start writing in it, the Gutenberg way (it supports WYSIWYG editing, with links, images, and all). It even stores the map’s zoom level as you use it so that you don’t have to set it by hand.
Follow the project’s development on GitHub
Release history
Roadmap
Hooks🪝
Shortcodes
Features
No need for API keys. Just install and use it.
Support for multiple markers.
Support for a different icon per marker.
Support for polygons and polylines.
Marker clustering: group nearby markers into clusters that expand as you zoom in.
Dead-simple interface . Don’t search for coordinates and don’t get overwhelmed by too many fields when using multiple markers. Just point and click on the map to add your marker where you want it and edit it’s popup content directly from there.
Place search . Find locations by typing keywords.
Remembers the zoom that you set when adding the markers and stores it so that you don’t set it by hand (which you can do anyway if you prefer).
AI integration which allows you to add markers by using commands in natural language. Just say “please” to activate (e.g. “Please, show me where GOT was filmed”). Requires an API key from an AI Provider, or a site-level AI connector on WordPress 7.0+. Read more .
Query Maps: Supports creating a map out of maps added on other posts or post types. This can be quite powerful when, for example, you have a custom post type for “Places” with each place having its own map, and you want to dynamically gather-up all the places on a single map.
Shortcode support: You can use the shortcode [ootb_query] as an alternative way to use the aforementioned Query Maps feature (see the FAQ for more info).
Support for a location custom field, which can be used to store a post’s or post type’s location, following the Geodata guidelines . Read more in the v.2.8.0 release notes .
Adjust the map height.
Change the default marker icon with a custom one.
Enable or disable map dragging.
Enable or disable touch zoom.
Enable or disable double-click zoom.
Enable or disable scroll wheel zoom.
Set a minimum and maximum limit that the user can zoom on the frontend. Setting the same value to both fields will lock the zoom at that level.
Support for other Layer Providers: MapBox (using your own API key) and Stamen.
Option to export locations in a JSON file
Option to import locations from a JSON file
See it in action
Screenshots & previews.
Adding markers and rich contentUsing the place search to throw multiple markers in a row by typing keyword and double+enter (no mouse)The map editing screenMap behavior optionsAdding a markerUsing custom markersPlace searchPlugin settings pageAdding a polygonAdding a polylineExport and import locationsDemonstrating the OpenAI integrationMarker clustering
02 / Source details
Gettingstarted.
01Upload the plugin to your WordPress plugins directory and activate it.
02That’s it. You can go to a post/page that supports the Gutenberg editor and start using the block called “Out of the Block: OpenStreetMap”
03 / Source details
Frequently asked questions.
Do I need an API key, like with Google Maps?
No.
That’s the point, actually. Just install the plugin and start adding maps. Keep in mind, though, that as stated on the OpenStreetMap Tile Usage Policy , OSM’s own servers are run entirely on donated resources and they have strictly limited capacity. Using them on a site with low traffic will probably be fine. Nevertheless, you are advised to create an account to MapBox and get a free API Key.
How can I add a custom Mapbox style?
You can find the style URL on Mapbox Studio . There, use the “Share” button, and under “Developer resources”, copy the “Style URL”. It should look like that: mapbox://styles/username/style-id . You can declare a global style on the plugin’s settings, to be used as a default for all the maps, or you can set a custom style for each map, by using the block’s settings panel.
How do I add a new location?
To add a location, left-click on the map for a while, until you see the prompt saying “Release to drop a marker here”. On browsers that support it, the cursor transforms from hand to crosshair, to make it even more apparent. As long as the prompt is visible, it means that releasing the click will drop the marker at that spot. That slight delay has been added to prevent you from accidentally adding markers all over the place with every click.
Alternatively, you can use the map’s place search functionality.
How do I remove a location?
Click on the marker to open up its popup. There, you will see the “Remove” button.
I can’t find some of the options like disable dragging, setting zoom levels etc
Check under the “Map behavior” section, at the blocks’ settings at the sidebar on the right. It’s toggled off by default, that’s probably why you missed it.
How does the AI integration work?
First of all, you will need to create an account to an AI provider (like OpenAI , Gemini , Anthropic or similar) and get an API key. Then, go to the plugin’s settings page and paste your API provider’s endpoint URL, Model and API key there. After that, you can start adding markers by using commands in natural language. Just say “please” to activate (e.g. “Please, show me where GOT was filmed”). Please keep in mind, though, that it’s like asking ChatGPT, Claude or any other AI Assistant: the answers you get might not always be 100% reliable, and you should always double-check to confirm their accuracy. Read more .
If you are running WordPress 7.0 or later and a site-level AI connector is configured at Settings → Connectors, you can skip the above. The plugin will use the connector automatically, with no API key required on your part.
How can I query maps from other posts or post types?
On the block’s side panel, Select the “Map data” panel and click on the “Fetch locations” button. This will automatically retrieve on the frontend all the markers from your posts (you can also select a specific post type from the dropdown). The block will be locked from editing, as the markers will be dynamically retrieved from the selected posts. If you don’t want that, there is a “Stop syncing” button that will unlock the block, drop the markers on the map and allow you to edit.
How can I use the shortcode?
To see the available shortcodes and the parameters that you can pass, go here .
I want more control. Are there any hooks that I could use?
Glad you asked! There are a few hooks that you can use to further customize the plugin’s behavior. You can find them here .
FinderPress Media Auditor helps site administrators scan for broken images, missing Media Library files, unreachable media URLs, and other media issues across WordPress content. Use it to audit images, video, audio, PDFs, featured images, and attachment files without sending scan data to an external
The Accepted Payment Methods plugin is a straightforward, lightweight solution that enhances your website by displaying visually appealing icons of the payment methods you accept. This plugin is ideal for a variety of websites, including e-commerce platforms, service-oriented websites, and informati