githubEdit

Map

Overview

A customizable store locator block that displays a map with markers for each store location. The block supports dynamic map rendering with Mapbox and static map rendering with an image. It also includes an accordion for each store location with details and a button to fly to the store.

Common use cases

  • Display store locations with interactive maps

  • Show multiple locations with detailed information

  • Create location finders for retail stores

  • Provide directions and location details

  • Build contact pages with map integration

Compatible blocks

The following blocks can be nested within this block:

Block settings

Content

Setting
Description
Options

Enable dynamic map

Enables dynamic map rendering with Mapbox

Checkbox (default: true)

Image map

Static map image used when dynamic map is disabled

Image picker Visible when enable dynamic map is false

Color

Setting
Description
Options

Color scheme

Controls the background color scheme

• Body (default) • Neutral • Accent 1 • Accent 2 • Accent 3 • Shade 1 • Shade 2 • Shade 3 • Primary • Secondary • Tertiary • Blur • Transparent

Border color

Controls the border color

• Body • Subtle (default) • Strong • Primary • Secondary • Tertiary • None

Style

Setting
Description
Options

Map style

Controls the visual style of the Mapbox map

• Standard • Dark • Light (default)

Display

Setting
Description
Options

Visibility

Controls when the block is visible

• All (default) • Mobile only • Desktop only

Last updated

Was this helpful?