---
description: >-
  "Map" is a valuable section for displaying contact information with the store
  location.
---

# Map

{% hint style="success" %}
**Tip:** Use the "[<mark style="color:blue;">Information line</mark>](#information-line)" block to edit the section with the text content. You can add several blocks if you need to display a few text lines that will be placed on the left side of the screen in a column.

To hide the title or button, leave the corresponding fields blank. If you want to display the map in full screen, additionaly hide/remove the "Information line" blocks.
{% endhint %}

<figure><img src="https://2583283665-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKhW6ktqksIA9uTHcpuSs%2Fuploads%2FrDJT8jgj4dkRxtvGYsvV%2Fmap_width.png?alt=media&#x26;token=cdb546d2-ea1d-4358-b8fb-c21123f50dea" alt=""><figcaption></figcaption></figure>

## Map

Use the **"Heading"** placeholder to add a section title.

The font size of the title can be changed to "Small", "Medium", or "Large" in the **"Heading font size"** drop-down.

If you need to set up the color of the title, use the **"Heading color"** picker. To change the information text color, use the **"Information color"**. Here you can paste the hex codes to the corresponding fields or choose colors using the paint pallet. The color settings will be used for both desktop and mobile.

If you want to showcase a button in the text block under all other content, paste the call-to-action text in the **"Button"** field. Leave the field blank to hide the button.

To redirect customers to the desired page, edit the **"Button link"**. Use the link from the resource selector, or paste the one if you use an external link.

Here is how the described settings might display in a store:

<figure><img src="https://2583283665-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKhW6ktqksIA9uTHcpuSs%2Fuploads%2FcjWShafuywhnn0Z0eMAW%2Fmap_text.png?alt=media&#x26;token=94fe2b60-2c6b-4f56-aaf9-d2a8b09e9751" alt=""><figcaption></figcaption></figure>

### Layout

The layout settings change the look and feel of the section.

If you need to show a **"Dividing line"**, choose "Top" or "Bottom" positions. It will be hidden once you use the option "None".&#x20;

On the **"Top spacing"** and **"Bottom spacing"** scales, decide whether to add spaces at the top and bottom of the section. Control spacing settings from 0 to 100 pixels on each scale.

### Content

In the **"Map code"** input field, paste an API key generated by Google Maps.

As an alternative to the Google code, you can paste an image. Choose the image by pressing the **"Select image"** button to use the one from a theme library or upload a new image from a computer.

If you use an image to display a map, you can choose the image proportion in the **"Image ratio"** drop-down. This section includes a few options to use that work on both desktop and mobile: "Adapt to image", "Portrait", "Square", "Landscape" or ''Circle". Each image ratio, you can check [<mark style="color:blue;">here</mark>](https://mpithemes.gitbook.io/canvas-shopify-theme/dynamic-theme-sections#content).



In the following examples, you can view how the section might display on desktop and mobile:

{% tabs %}
{% tab title="Desktop" %}
<figure><img src="https://2583283665-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKhW6ktqksIA9uTHcpuSs%2Fuploads%2F5CKoshSJh4hQYeXuCEqT%2Fmap_desktop.png?alt=media&#x26;token=73bb0999-eb88-469d-9a0f-fa2032eb7c6f" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Mobile" %}
<figure><img src="https://2583283665-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKhW6ktqksIA9uTHcpuSs%2Fuploads%2F5RrPSqMC2VuW2jMRcBWS%2Fmap_mobile.png?alt=media&#x26;token=bf4d0729-6d50-4409-b291-89cbec79ba8b" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

## Information line

If you need to use the SVG icon, paste the icon name to the corresponding field. The list of icons you can view <mark style="color:blue;">here</mark>.

In the **"Icon image"**, select an image previously added to the Image Library.

The **"Text"** input field allows adding any informative text like address, telephone number, hours of operation, etc.



Here is how the block might display in a store:

<figure><img src="https://2583283665-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKhW6ktqksIA9uTHcpuSs%2Fuploads%2FpZ2q8k0c10yEspGq3qn4%2Fmap_info%20line.png?alt=media&#x26;token=ad037ea1-daa3-4ded-be91-90828d94a393" alt=""><figcaption></figcaption></figure>
