# Map Marker from ACF Image

### Step by step guide

**Select** the **Google Map** field from the Field list, and also assign the map marker **Image field** you'd like to use.

<figure><img src="/files/AuVyuvj9cX0bt92mO7nO" alt=""><figcaption></figcaption></figure>

**Publish** or **Update** your *Layout* to Save.

<figure><img src="/files/0XuBW0Dpb4OnlJT7qZUy" alt=""><figcaption></figcaption></figure>

**Switch** to the **Template** tab, copy and paste the **Default Template** code into the **Custom Template** field.

<figure><img src="/files/lkf3Pm0HQ72jVN7ulKnM" alt=""><figcaption></figcaption></figure>

In the Custom Template field copy the {{ map\_marker.value }} from the 'src' attribute of the Image field.

<figure><img src="/files/TmHTn9CXPuSE0fokYgLO" alt=""><figcaption></figcaption></figure>

**Paste** it replacing the 'data-icon' {{ map.marker\_icon }} attribute of the Google Map field.&#x20;

<figure><img src="/files/4JPd7jMZfyigpLxSKMTn" alt=""><figcaption></figcaption></figure>

Then **delete** the lines for the map marker Image field markup.

<figure><img src="/files/AqK3TBQv8tOuDVVxas0b" alt=""><figcaption></figcaption></figure>

Save or Update to publish your *Layout.*


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wplake.gitbook.io/advanced-views/guides/map-marker-from-acf-image.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
