WordPress.org

Plugin Directory

WP Map Block – Google Maps, OpenStreetMap, Mapbox, Store & Shop Locator, Directory, Listings & Filters

WP Map Block – Google Maps, OpenStreetMap, Mapbox, Store & Shop Locator, Directory, Listings & Filters

Description

WP Map Block is an all-in-one interactive map builder for WordPress. Build a map visually β€” drop markers, draw regions, pull live locations from your content β€” then publish anywhere with a Gutenberg block or a shortcode. No API key is required to get started with OpenStreetMap or Google Maps.

Design your map on a live canvas, choose from nine map providers, and add everything from a single pin to a full store locator. It’s the fastest way to put your locations on the map, whether you need a simple contact map or a data-driven directory.

Why you’ll love WP Map Block:

Visual builder: Design on a live preview with place search, drag-to-reposition markers and instant feedback β€” no code needed.
Nine map providers: OpenStreetMap and Google Maps are free; Mapbox, MapTiler, OpenFreeMap, Stadia, Esri, CARTO and Azure add even more styles, plus Road, Satellite, Hybrid and Terrain views.
Rich markers: Unlimited markers with categories, a custom icon library, popup images, and bounce / drop / pulse animations.
Dynamic & scalable: Auto-plot posts, custom post types, ACF fields and REST sources; cluster thousands of points or render them as a heatmap.
Store locator & directory: Radius search, geolocation, filters and a browsable, collapsible list β€” turn any map into a locator.
Backward compatible: Every existing map keeps working, and you can import/export maps as JSON, CSV, KML or GPX.

Most convenient way to add Google Maps & OpenStreetMap in Gutenberg.

WP Map Block gives you a clean, straightforward interface to add and customize maps for Gutenberg-supported posts, pages and custom post types β€” without wrestling with API keys or heavy configuration.

⭐ Live Demo
⭐ Docs

Plugin Features βœ…

  • Google Maps
  • OpenStreet Maps
  • Multiple Marker
  • Zoom Control
  • Full Screen Map Control
  • Custom Marker Icon & Popup
  • Map Width & Height
  • Latitude and Longitude Generator from address
  • Set any marker as center position
  • Marker Builder
  • Draggable Marker
  • Don’t need any API key

πŸ—ΊοΈGoogle Map: Set the default Google Map on any page or post of your WordPress site. With a single click, you can select this map anywhere on your site using WP Map Block.

πŸ›£οΈOpenStreet Maps: We’ve included this option for you so you can enable OpenStreet Maps and tweak it within your site. OpenStreet Map is an open-source map where you can contribute to improving the quality of data on the map. Every update you make to Open Street Map is owned by both you and the community as a whole.

πŸ“ŒMultiple Marker: By default, a marker will appear on the map based on your location. But you can add additional markers on your map by customizing the settings. Also, set the title and content for the marker as well as set the default position of the marker.

πŸ”Ž Zoom Control: Zoom in and out of the map with ease using the zoom option. The map works quickly since it is built using LeafletJS, and it does not take long to load the map after zooming in or out.

πŸ“²Full-Screen Map Control: Get a full-screen map view while using the map presented by this plugin. You can control the map very comfortably within the full screen and navigate the whole map freely.

πŸ› οΈ Custom Marker Icon & Popup: Explore the settings and customize the marker on your map. You can place custom markers on the map and also place your preferred popups on the map.

🎚️Map Width & Height: You can set your preferred width and height on the map by customizing it from the settings. This option allows you to set the displayed map at a certain height and width and then place it on the front end of your site. You can set it according to your viewing preference.

☸️ Latitude and Longitude Generator: You can generate addresses from the latitude and longitude of your location. With the help of latitude and longitude, you will get a precise location and address on the map.

πŸ“Set any marker as the center position: You can set the marker in the central position on the map. If you have placed a custom marker on the map, you can set it as your default marker and set its position in the middle. This will show the marker as the main marker; it will be displayed at the center of the map.

β˜„οΈMarker Builder: You may be bored to see the same old marker icon on the map. WP Map Block allows you to customize the map beyond the traditional elements of the map. You can customize as well as build a new marker and place it on the map.

πŸ‘‹ Draggable Marker: Drag the marker in any position on the map and reveal the location swiftly. The dragging option is really smooth, and after dragging the marker, the location gets revealed instantly.

πŸ”‘ API key not required: To place the map on your site. Simply select the map block and place it on any page of your site. The vast majority of Google Map plugins now available on the market need the use of API keys in order to activate the map; however, our plugin does not.

πŸ”₯ WHAT’S NEXT

If you like WP-Map-Block, then consider checking out our other WordPress Plugins for FREE:

πŸ” Academy LMS – Academy LMS is a modern, lightweight LMS plugin for WordPress. It helps users create and sell online courses, manage instructors, track student progress, quizzes, and more β€” all inside WordPress.
πŸ” StoreEngine – StoreEngine is an all-in-one, next-gen eCommerce plugin for WordPress. It’s designed to make selling digital products, courses, memberships, and even physical goods easier than ever.

πŸ’™ Join the WP Map Block Community

Get help, share your maps and hear about new features first.

Screenshots

Blocks

This plugin provides 2 blocks.

  • Wp Map Block
  • Map Embed

Installation

Install WP Map Block for Gutenberg either via the WordPress plugin directory or by uploading the files to your server at wp-content/plugins.

FAQ

Is there an API key required for WP Map Block to work?

No, you don’t need an API key to launch Google Maps & OpenStreet Maps.

Can I add a WP Map block on multiple pages or posts?

Yes, you can add WP Map block on multiple pages or posts. You simply need to select the plugin from the left sidebar, and the map will appear instantly. Then you can customize the map according to your preference.

How will I get the map in my Gutenberg Block editor?

After installing and activating the plugin, simply get into your editor, and from the block section on the left side, you can search out the WP Map block and select it. The map will appear right after you click it on the left panel.

Can I place the marker anywhere on the map?

Of course. You can place the marker anywhere on the map and also customize it. The fun part is that you can place multiple markers on your map. Additionally, you can select your chosen map and place it in the center of the frame.

Are there any specific criteria for using WP Map block?

No, there is no prerequisite for using this plugin. You can simply use this plugin after installing it on any WordPress site.

What if the map shows the wrong location?

Change the way you are writing the address or make it more specific. Make sure that you input the street name, as well as the town name and the nation. For a more precise location, provide the latitude and longitude coordinates in the place of address.

Reviews

NopΓ©mber 17, 2024
Since 1.4.10 the custom icon feature is broken. Since 2.0.0 it is adware.
Oktober 28, 2024
It used to be a good, lightweight plugin, but now it’s part of aBlocks and shows giant ad for aBlocks everywhere.
NopΓ©mber 7, 2023
Simply setup, easy adding new markers, functional and actually you save a loooot of time by not defining new tokens etc.. It works immediately! The only problem is that the markers are not precise when the zoom is not at the maximum level. Zooming out and the marker goes in different position (lower). (tested in firefox, edge and in the plugin website example map. (I have google for solution/workaround but no luck. Hopefully I’m mistaken or to hear about a solution/workaround soon.
Read all 20 reviews

Contributors & Developers

“WP Map Block – Google Maps, OpenStreetMap, Mapbox, Store & Shop Locator, Directory, Listings & Filters” is open source software. The following people have contributed to this plugin.

Contributors

“WP Map Block – Google Maps, OpenStreetMap, Mapbox, Store & Shop Locator, Directory, Listings & Filters” has been translated into 5 locales. Thank you to the translators for their contributions.

Translate “WP Map Block – Google Maps, OpenStreetMap, Mapbox, Store & Shop Locator, Directory, Listings & Filters” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

3.0.0 – 2026-08-03

Major release β€” WP Map Block is now an all-in-one visual map builder.

  • Added: Brand-new visual map builder with a live preview (build maps once, embed anywhere)
  • Added: 9 map providers β€” OpenStreetMap, Google Maps, Mapbox, MapTiler, OpenFreeMap, Stadia, Esri/ArcGIS, CARTO and Azure Maps
  • Added: Map types β€” Road, Satellite, Hybrid and Terrain (works across providers)
  • Added: Place/address search with autocomplete to set the map center or drop markers
  • Added: Markers β€” categories, custom icon library, popup images, marker animations (bounce/drop/pulse) and draggable markers
  • Added: Polygons & polylines with click-to-draw on the map
  • Added: Marker clustering and heatmaps
  • Added: Dynamic data sources β€” populate markers from posts, custom post types, ACF fields, GeoJSON and REST endpoints
  • Added: Store locator with radius search and geolocation, plus a browsable, collapsible directory/list
  • Added: Directions & routing links, and Google traffic/transit/bicycle layers
  • Added: Import/Export β€” JSON, CSV, KML and GPX
  • Added: Simple map block gains multiple markers, width, scroll-wheel zoom and center-marker controls
  • Added: Light/dark admin, setup wizard, What’s New and a redesigned Settings page
  • Changed: OpenStreetMap and Google Maps remain free; premium providers and advanced features move to Pro
  • Compatibility: The classic wp-map-block block and all existing maps keep working unchanged β€” no data is lost on upgrade

2.0.4 – 2025-11-04

  • Fixed: Security Issue

2.0.3 – 2025-06-03

  • Fixed: Security Issue
  • Removed: Market content HTML support removed for security issue

2.0.2 – 2024-05-25

  • Fixed: Security Issue

2.0.1 – 2024-04-01

  • Added: WP 6.8 Compatibility

2.0.0 – 2024-05-22

  • Added: aBlocks Compatibility

1.4.10 – 2024-05-22

  • Added: WP 6.5 Compatibility
  • Fixed: Default Marker data not saved issue

1.4.9 – 2024-02-03

  • Fixed: Plugin Conflict

1.4.8 – 2023-03-31

  • Updated: Readme and Plugin Links updated
  • Some minor Improvement

1.4.7 – 2023-03-31

  • Added: WP 6.2 Compatibility
  • Removed: JQuery
  • Some minor Improvement

1.4.6 – 2023-01-01

  • Some minor Improvement

1.4.5 – 2022-12-04

  • Fixed: Mobile scrolling issue
  • Fixed: Marker center position not keep saved if delete any marker

1.4.4 – 2022-11-07

  • Fixed: Block Assets Loading Issue

1.4.3 – 2022-11-05

  • Added: 6.1 Compatibility
  • Added: Conditonality load assets
  • Fixed: Editor Settings UI Improved
  • Fixed: if delete all marker then break editor

1.4.2 – 2022-06-13

  • Added: 6.0 Compatibility

1.4.1 – 2022-03-22

  • Fixed: Translation Issue

1.4.0 – 2022-03-21

  • Added: Draggable Marker Editor
  • Updated: React Leaflet NPM Package Update
  • Fixed: Real Time Map Center Position Not Working Issue

1.3.1 – 2022-02-16

  • Added: 5.9 Compatibility

1.3.0 – 2021-10-29

  • Added: Set any marker as center position
  • Fixed: Popup content HTML Support issue
  • Update: Update map height maximum value

1.2.5 – 2021-09-29

Added: Latitude and Longitude Generator from address

1.2.4 – 2021-09-29

  • Added: Latitude and Longitude Generator from address

1.2.4 – 2021-08-24

  • Some minor Improvement

1.2.3 – 2021-08-24

  • Fixed: Data escaping issue fixing

1.2.2 – 2021-08-20

  • Fixed: frontend scripts jquery dependancy related issue fixing

1.2.1 – 2021-08-08

  • Fixed: Hotfix for unexpected semicolon from block.php

1.2 – 2021-08-07

  • Added: Mouse Wheel Scroll Zoom ON/OFF Option
  • Some minor Improvement

1.1.6 – 2021-07-23

  • Update: WP 5.8 Compatibility

1.1.5 – 2021-03-21

  • Update: WP 5.7 Compatibility
  • Some minor Improvement

1.1.4 – 2021-01-30

  • Fixed: Editor settings page arrow down icon issue
  • Update: Editor settings map marker label click
  • Some minor Improvement

1.1.3 – 2021-01-16

  • Fixed: Map Server Side Render low resolution
  • Fixed: Translation Issue
  • Some minor Improvement

1.1.2 – 2021-01-14

  • Some minor fix

1.1.1 – 2020-09-03

  • Fixed: Translation Issue
  • Some minor fix

1.1 – 2020-09-02

  • Added: Custom marker icon
  • Added: Full Screen Map Control
  • Fixed: Remove some unncecessary code
  • Some minor fix

1.0.1 – 2020-08-24

  • Fixed: Popup content undefined issue
  • Update: Map Default Settings Update

1.0 – 2020-08-23

  • initial release