Kindly EditDocumentationTry the editor

Map

A Google map of an address, loaded when the page is viewed.

Use this element#

Enter an address or place, choose a zoom level, and name the map for screen readers. Enable Load Google Maps only when asked when visitors should decide whether to load the third-party map.

The address identifies the place; zoom changes the scale from 1 to 20. Verify the pin in the visitor view. A visible street address and a directions link are useful even when the map cannot load.

Availability#

Available through the appropriate content or section picker when the theme and editing context allow it.

Content controls#

These are the controls registered for this element. A control that depends on another setting or the surrounding layout appears only when it applies.

Address or place#

Input type: text. Enter the desired value, then check the page result.

Zoom#

Input type: number. Enter the desired value, then check the page result.

Min: 1; Max: 20; Step: 1.

Load Google Maps only when asked#

Turn this option on or off. The label describes the behavior being enabled.

Name for screen readers#

Input type: text. Enter the desired value, then check the page result.

Style controls#

In Developer mode, Style starts with this element's own group, Map, open above the shared Style groups (available in 0.9.15 and later):

Control Value
Map height Size in px, rem or em

Each works like the rest of the inspector: it starts by showing the element's current look, Reset brings the theme's value back, and each change is one Undo step. Like other Style settings, a value can differ by screen size and state (Normal, Hover, Focus).

Save and check#

  1. Change one setting and inspect the affected element.
  2. Use Undo and Redo to check the edit is reversible.
  3. Save a draft, reopen it, and confirm the content and choices remain.
  4. Inspect the page at desktop and phone widths.
  5. Publish only when the result is ready. For interactive elements, check the visitor view because editing mode can suppress interaction.

How it is stored#

The block comes from blocks/430-map.html. Its editable content is HTML in the page or owning template. Native settings update words, attributes, classes, or supported style properties. Generated interface controls are not saved into that HTML.

The settings registry matches .cb-map in assets/element-settings.js. Public behavior, when needed, is implemented by the native element runtime in assets/elements.js or assets/blocks.js.

About this page

Documents Kindly Edit 0.9.16. Source: blocks/430-map.html, assets/element-settings.js, assets/elements.js. Theme choices and account permissions can change which controls appear.

Type a word or phrase to search the full documentation.