Location Map

Updated

Usage

The Location Map block shows your locations as pins on an interactive map, with a card for each one. Visitors can filter by region or type if you add filters.

It works with Google Maps or OpenStreetMap. Turn on Enable Mapping and pick a map provider under Locations → Settings → Maps first.

Settings

  • What to Display — all locations, one region or type, or locations you pick by hand
  • Filtering — region or type filter buttons for visitors
  • Columns, Card Style, Card Headlines, Text Align, Excerpt Style — how the location cards look

Tips

  • Set a map pin on each location so its marker lands in the right spot.
  • If visitors must accept cookies before a Google map loads, set the Cookie Prompt under Locations → Settings → Maps.

Settings

Data

What to Display setting in the block editor sidebar
What to Display

Show every location, only certain Regions or Types, or locations you pick by hand.

Handpicked Locations setting in the block editor sidebar
Handpicked Locations

Appears when What to Display is Handpicked.

Type setting in the block editor sidebar
Type

Appears when What to Display is By Type.

Region setting in the block editor sidebar
Region

Appears when What to Display is By Region.

Filtering setting in the block editor sidebar
Filtering

Adds filter buttons visitors can click to narrow the map by Region or Type.

Region Filters setting in the block editor sidebar
Region Filters

Which Regions get a filter button. Leave blank for all.

Type Filters setting in the block editor sidebar
Type Filters

Which Types get a filter button.

Appearance

Columns setting in the block editor sidebar
Columns
Card Style setting in the block editor sidebar
Card Style
Image Aspect Ratio setting in the block editor sidebar
Image Aspect Ratio

Crops card images to one shape. None keeps each image's original shape.

Card Headlines setting in the block editor sidebar
Card Headlines

Text style for location names on the cards.

Text Align setting in the block editor sidebar
Text Align

Text alignment on the location cards.

Excerpt Style setting in the block editor sidebar
Excerpt Style

Size of the excerpt on each card, or Hidden.

Link to Post setting in the block editor sidebar
Link to Post

Adds a link on each card to that location's page.

Built by Dirigible Studio. Get in touch