Blocks » Map Block

The map block allows you to add a map to any post or page on your site.

Table of Contents

Add a Map Block

In order to add a map block, click on the Block Inserter + icon.

You can also type /map and hit enter in a new paragraph block to add one quickly.

Map block - Add Typing

For more, visit our detailed instructions on adding blocks.

↑ Table of Contents ↑

Block Interface

Each block has its own block-specific controls that allow you to manipulate the block right in the editor. The map block offers the center alignment, add marker and more option controls.

↑ Table of Contents ↑

Edit the map

The map will load with a text field for you to add a location marker.


Type the location you want to display on the map. This can be as general or specific as you wish, and the location will autocomplete as you type. Click the correct location to add it to your map.

You can then click on the red marker symbol to edit the title and caption of the marker.


Note that editing the address in the caption field here will not change the position of the marker, only what text is displayed on your map when the marker is clicked.

↑ Table of Contents ↑

Add Additional Location Markers

You can add additional location markers to the same map, for example, if you have a chain of restaurants, and you want to display all of their locations on one map.

To add a location marker, click the Add a Marker button and enter the location details as before.


When you add more than one location marker, the map will zoom out to display all markers.

Map Block Multiple Markers

↑ Table of Contents ↑

Block Settings

Every block has additional options in the editor sidebar, as well as the options found in the block toolbar. If you do not see the sidebar click the ‘gear’ icon next to the Publish button.

↑ Table of Contents ↑

Map Styles

To customize the appearance of your map, you can select one of the following map themes: basic, black & white, satellite, or terrain.

Map Block Styles
Map Block Styles

↑ Table of Contents ↑


You can also choose the color of the location markers. Either choose from the suggested colors or pick a custom color.

Choose the color of the location marker
Choose the color of the location marker in the map

↑ Table of Contents ↑

Map Settings

The Map Settings give you different ways to customize the appearance of the map:

Height in pixels: Set the height of the map.

Zoom level: Set how much you want the map to be zoomed in. This can be changed when showing one marker on the map only.

Show street names: Enable this option to show street names and other place names on the map.

Scroll to zoom: Enable this option if you want your viewer to be able to use their device’s scroll function to zoom in and out on the map.

Show Fullscreen Button: Enabling this option will include the ability to open the map in full screen on the browser window.

↑ Table of Contents ↑


The Markers section lets you edit all of your markers. Editing a marker here works exactly the same as if you click on the marker itself and edit there, but using these settings may be easier if you have a lot of markers to edit. It’s also possible to delete markers in this section.

The Marker Caption area only supports text. If you need to have some clickable links, an alternative option is to create a custom Google Maps that you can then embed on the site.


↑ Table of Contents ↑

Mapbox Key

If for some reason you need to use your own custom Mapbox token, you can enter this under the Mapbox Access Token section in the block settings.

Mapbox access token settings

↑ Table of Contents ↑


The advanced tab lets you add a CSS class to your block, allowing you to write custom CSS and style the block as you see fit.

The advanced section lets you add a CSS class to your block.
The advanced section lets you add a CSS class to your block.

Not quite what you're looking for?

Get Help