Location Map

Usage

The Location Map block displays an interactive Google Map with location markers and an accompanying card list. Filter by region or type when your locations use those taxonomies.

Requires Dirigible Locations with Enable Mapping turned on and a Google Maps or OpenStreetMap configuration in the customizer.

Settings

  • What to Display β€” query all, by region, by type, or handpicked locations
  • Filtering β€” region or type filter pills for visitors
  • Columns, Card Style, Title Style, Card Align, Excerpt Style β€” layout for cards beside the map

Tips

  • Set a Google Map field on each location post for accurate marker placement.
  • Configure GDPR Map Prompt in customizer when cookie consent is required before loading maps.

Settings

Location Map

Data Β· Data

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

Map display mode for location cards on the map block.

  • Show All Locations
  • By Region
  • By Type
  • Handpicked
Handpicked Locations setting in the block editor sidebar
Handpicked LocationsShown when Display is set to Handpicked.

Handpicked locations to show on the map.

Type setting in the block editor sidebar
TypeOnly appears when Display is set to By Type.

Filter map markers by Location Type.

Region setting in the block editor sidebar
RegionVisible when Display is set to By Region.

Filter map markers by Region.

Filtering setting in the block editor sidebar
Filtering

Enable region or type filter UI on the map.

  • By Region
  • By Type
  • Disableddefault
Region Filters setting in the block editor sidebar
Region FiltersAvailable when Filtering is set to By Region.

Regions available as map filters.

Type Filters setting in the block editor sidebar
Type FiltersShown when Filtering is set to By Type.

Types available as map filters.

Appearance Β· Appearance

Columns setting in the block editor sidebar
Columns

Columns for location cards beside or below the map.

  • 1
  • 2
  • 3
  • 4default
  • 5
  • 6
  • 7
Card Style setting in the block editor sidebar
Card Style

Card presentation style for map location list.

  • Border
  • Card
  • Seamless
Image Aspect Ratio setting in the block editor sidebar
Image Aspect RatioAvailable when Show Featured Image is enabled

Crop ratio for featured images on map cards.

  • None
  • 5:1
  • 4:1
  • 3:1
  • 2:1
  • 16:9default
  • 4:3
  • 1:1
  • 1:2
  • 9:16
Card Headlines setting in the block editor sidebar
Card Headlines

Typography for location names on map cards.

  • h2
  • h3
  • h4default
  • h5
  • h6
  • p
  • strong
Text Align setting in the block editor sidebar
Text Align

Alignment of cards relative to the map.

  • Leftdefault
  • Center
  • Right
Excerpt Style setting in the block editor sidebar
Excerpt Style

How location excerpts render on map cards.

  • Base
  • Smalldefault
  • X-Small
  • Hidden
Link to Post setting in the block editor sidebar
Link to Post

Enable this to add a link from each location card to its corresponding post. Use this when you want visitors to be able to navigate to individual location pages.