> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hyperwisor.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Map

> A map with markers driven by latitude/longitude data columns.

<Info>
  **Category:** Display · **Reads data:** yes (coordinates) · **Sends commands:** no
</Info>

## Mental model

A **Map is a live pin board.** It plots markers at coordinates from your data — one
device, a few points, a route. For *many* devices with fleet views, use the
[Fleet Manager](/fleet/overview) instead.

## When to use it

* Show a device's or a few points' location
* Simple location display

## Settings

### General / Data

* **Widget Title / ID**
* **Latitude / Longitude column** — where marker coords come from
* **Description column** — popup text

### Style

* **Map provider** · **map shape**
* **Marker type / color** · **path color** · **arrow color**
* **Always show descriptions**

## Example — push a location from firmware

```cpp theme={null}
device.sendTo(targetId, [](JsonObject &p) {
  p["lat"] = 18.92; p["lng"] = 72.83;
});
```

## Script API example

The same interactions from a [dashboard script](/script/overview):

```js theme={null}
// Compact map on small screens
if (context.device.screenWidth < 768) widget.resize('siteMap', 320, 240);
```

<Card title="Fleet Manager" icon="map-location-dot" href="/fleet/overview">
  For many devices — maps, groups, commands, firmware.
</Card>
