> For the complete documentation index, see [llms.txt](https://docs.g-iot.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.g-iot.io/level-meter-full-device-guide-book/level-meter-greater-than-giots-function/lm-device-dashboard/lm-add-widgets/lm-map-widget.md).

# LM - Map Widget

The Map Widget allows the display of both Last location and historical locations of the device on a geographical map.&#x20;

This feature is available only for devices that support geolocation, improving tracking capabilities and enabling analysis of movement patterns over time.

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

## Set up Map Widget

1. Access the Device Dashboard
2. &#x20;Navigate to the Cockpit Menu, go to the Devices section, and locate the desired LM device.
3. Click on its name to open the device dashboard.
4. &#x20;Add a Map Widget:

Click on the + Add Widget icon in the top-right corner of the device dashboard.

5. Select the Map Widget:

From the widget options popup, choose the Map Widget.

6. Configure the Map Widget:

* Display Options: Select whether to show the last known location or the path history of the device.
* Time Interval: For path history, define the timeframe using the calendar tool or select predefined intervals. Or configure a specific custom timeframe.

7. Save the Configuration:\
   Click Save to finalize and display the Map Widget on the device dashboard.

**Review and Adjust:**\
The Map Widget will now visualize the device's geolocation data. To modify its configuration, click the gear icon on the widget and update the settings as needed.

<figure><img src="/files/RKaR9gWXQ1ixeot5cktp" alt=""><figcaption><p>LM Set-up Map widget</p></figcaption></figure>


---

# 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 dynamically by asking a question.

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

```
GET https://docs.g-iot.io/level-meter-full-device-guide-book/level-meter-greater-than-giots-function/lm-device-dashboard/lm-add-widgets/lm-map-widget.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
