> For the complete documentation index, see [llms.txt](https://docs.gridmate.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gridmate.io/product-tour/maps/map-list/display.md). Agents can also search and read this documentation through its [MCP server](https://docs.gridmate.io/~gitbook/mcp).

# Display

Color the markers of a Map List, use your own icon and group nearby markers in clusters.

These settings control how the markers look on the map. They are set on the **GM - Map List** component, in the Lightning App Builder.

## Which setting do I need?

| I want to…                                          | Use                                   |
| --------------------------------------------------- | ------------------------------------- |
| Give the markers a color that depends on the record | [Marker Coloring](#marker-coloring)   |
| Replace the standard marker with my own icon        | [Custom Icon (SVG)](#custom-icon-svg) |
| Group nearby markers so the map stays readable      | [Marker Clusters](#marker-clusters)   |

## Marker Coloring

**Marker Coloring** gives each marker a color from a list of rules, each with a color and the condition a record must match. Paste the rules in the **Marker Coloring** property of the component.

The **Marker Coloring** configuration used in this demo is based on the account type. See below:

```json
[
    {
        "color": "#75c452",
        "exp": {
            "Type": {
                "operator": "=",
                "value": "Customer"
            }
        }
    },
    {
        "color": "#f2b016",
        "exp": {
            "Type": {
                "operator": "=",
                "value": "Prospect"
            }
        }
    },
    {
        "color": "#4d94ff",
        "exp": {
            "Type": {
                "operator": "=",
                "value": "Partner"
            }
        }
    },
    {
        "color": "#663399",
        "exp": {
            "Type": {
                "operator": "=",
                "value": "Reseller"
            }
        }
    }
]
```

## Custom Icon (SVG)

The **Custom Icon** feature replaces the standard markers with your own SVG icon, for example your logo. The icon is uploaded as a static resource, then set on the component.

Navigate to **Setup** and follow these steps:

{% stepper %}
{% step %}

### Create a static resource

Go to **Static Resources** and click **New**.
{% endstep %}

{% step %}

### Name the resource

Set a **Name** for your resource.
{% endstep %}

{% step %}

### Upload the SVG

Upload your **SVG file**.
{% endstep %}

{% step %}

### Set the cache control

Set the cache control to **Public**.
{% endstep %}

{% step %}

### Save

Click **Save**.
{% endstep %}

{% step %}

### Set the marker icon

Edit the page that shows the Map List and select the **GM - Map List** component. In the **Marker Icon** property, enter the name of the static resource. You can also define the width and the height of the icon. Click **Save**.
{% endstep %}
{% endstepper %}

<figure><img src="https://4046919449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MEsSbGy_U_OhthKUpxu%2Fuploads%2Fkvybu0MCrc0z669kE3lH%2FScreenshot%202026-02-25%20at%2018.28.29.png?alt=media&amp;token=a05a801e-5d6e-43eb-8caa-9f45128ec13e" alt=""><figcaption></figcaption></figure>

Below is a step-by-step guide to configure the **Custom Icon** feature.

{% embed url="<https://youtu.be/oYmHVYqd3w8>" %}

## Marker Clusters

**Marker Clusters** group nearby map markers into a single visual entity, enabling more effective visualizations on maps. As users zoom in, each cluster splits into smaller clusters, then into single markers.

1. On the page that shows the map, click the gear icon and edit the Lightning page in the App Builder.
2. Select the Map List.
3. Scroll down and check **Show Clusters**.
4. Click **Save**.

<figure><img src="https://4046919449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MEsSbGy_U_OhthKUpxu%2Fuploads%2FTtfXna42BVdWVh14lBdn%2FScreenshot%202025-06-12%20at%2011.47.21.png?alt=media&amp;token=6c464baf-e0e6-4a65-9d1b-7a7a8bd08330" alt=""><figcaption></figcaption></figure>

Once the **Show Clusters** option is enabled, Marker Clusters automatically group nearby map markers into unified visual clusters. Below is a step by step tutorial on how to configure **Marker Clusters**.

{% embed url="<https://youtu.be/zVOw4lCGyBg>" %}

{% hint style="info" %}
Marker Clusters feature is available only for **OpenStreetMap** provider.
{% endhint %}

## Next steps

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Filters &#x26; Search</strong></td><td>Search around a location, filter and search the list.</td><td><a href="https://docs.gridmate.io/product-tour/maps/map-list/filters-and-search.md">Filters &amp; Search</a></td></tr><tr><td><strong>Map List</strong></td><td>Map many records of any object, filter them in a list and run actions.</td><td><a href="https://docs.gridmate.io/product-tour/maps/map-list.md">Map List</a></td></tr><tr><td><strong>GM - Map List</strong></td><td>Every property of the component.</td><td><a href="https://docs.gridmate.io/package-reference/components-library/maps/gm-map-list.md">GM - Map List</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.gridmate.io/product-tour/maps/map-list/display.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
