> 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/set-up.md). Agents can also search and read this documentation through its [MCP server](https://docs.gridmate.io/~gitbook/mcp).

# Set up

Add the GM - Map List component to an app page and configure its properties.

The **GM - Map List** component is added to a Lightning page and configured from its properties in the Lightning App Builder.

In this tutorial, we will create an app page that maps the accounts based on their billing address.

## Before you start

The records must have a location. With the **OSM** (OpenStreetMap) map provider, the component reads the latitude and the longitude of each record, so only geocoded accounts show on the map.

## Set it up

{% stepper %}
{% step %}

### Create an app page

From Setup, create an app page in the Lightning App Builder. In the demo: a page labelled **Map Explorer**, with one region.
{% endstep %}

{% step %}

### Add the component

From the components list, drag and drop the component **GM - Map List**. The component is now ready for configuration in the Lightning App Builder.
{% endstep %}

{% step %}

### Configure the properties

The property values can be configured to tailor the component to the needs of the end-user. To perform a quick configuration, populate the property values in the table below, then save and activate the page.
{% endstep %}
{% endstepper %}

## Properties

| Property         | Demo value                                                                                                      | Notes                                                                                              |
| ---------------- | --------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
| Map Provider     | **OSM**                                                                                                         | OSM stands for OpenStreetMap. You can also select Google Maps.                                     |
| Object Name      | **Account**                                                                                                     |                                                                                                    |
| Custom Label     | **Map Explorer**                                                                                                |                                                                                                    |
| Filter           | See the configuration example below                                                                             | Keeps only the records that have location data.                                                    |
| Row Limit        | *to confirm*                                                                                                    |                                                                                                    |
| Latitude Field   | **BillingLatitude**                                                                                             | With OSM, the latitude and longitude fields are all the component needs.                           |
| Longitude Field  | **BillingLongitude**                                                                                            |                                                                                                    |
| Title Field      | **Name**                                                                                                        |                                                                                                    |
| Popover Fields   | **Type,BillingCity**                                                                                            | Shown when hovering over a marker.                                                                 |
| Detail Fields    | **Type,BillingCity,Website,OwnerId**                                                                            | Shown in the detail panel.                                                                         |
| Search Fields    | **Name**                                                                                                        | See [Filters & Search](https://docs.gridmate.io/product-tour/maps/map-list/filters-and-search.md). |
| Enable Filtering | **Checked**                                                                                                     | See [Filters & Search](https://docs.gridmate.io/product-tour/maps/map-list/filters-and-search.md). |
| List Icon        | **standard:account**                                                                                            |                                                                                                    |
| Show Border      | **Checked**                                                                                                     |                                                                                                    |
| Map Height       | **9999**                                                                                                        |                                                                                                    |
| Marker Coloring  | See [Display](https://docs.gridmate.io/product-tour/maps/map-list/display.md#marker-coloring)                   | Colors the markers by account type.                                                                |
| Search Around    | See [Filters & Search](https://docs.gridmate.io/product-tour/maps/map-list/filters-and-search.md#search-around) | GeoApify, with a maximum radius of 500 km.                                                         |
| Actions          | **Assign Account** action                                                                                       | See [Actions](https://docs.gridmate.io/product-tour/maps/map-list/actions.md#mass-actions).        |
| Record Actions   | **View**, **Edit** and **Update Type** actions                                                                  | See [Actions](https://docs.gridmate.io/product-tour/maps/map-list/actions.md#record-actions).      |
| Show Clusters    | **Checked**                                                                                                     | See [Display](https://docs.gridmate.io/product-tour/maps/map-list/display.md#marker-clusters).     |

For every property of the component, see [GM - Map List](https://docs.gridmate.io/package-reference/components-library/maps/gm-map-list.md).

## Configuration example

To make sure having only geocoded accounts, we used the filter below:

```json
{
    "BillingLatitude": {
        "operator": "!=",
        "value": null
    }
}
```

## Demo

The video below configures the **GM - Map List** component step by step.

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

Below is a quick demo of **GM - Map List** where the user can visualize accounts, search, filter and navigate around without leaving the record page. We can also edit the records and trigger quick actions like mass assign based on the trigger.

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

## 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>Display</strong></td><td>Color the markers, use your own icon and group markers in clusters.</td><td><a href="https://docs.gridmate.io/product-tour/maps/map-list/display.md">Display</a></td></tr><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>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/set-up.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.
