---
title: Event Stream Map Widget
---

The Event Stream Map widget provides real-time location sharing through an Event Stream. Participants share their current GPS location, which is displayed on an interactive OpenStreetMap for everyone subscribed to the same stream.

## Widget Name

`WIDGET_EVENT_STREAM_MAP` (`"EventStreamMap"`)

**Category**: `data`
**Visible in catalog**: yes

## Configuration

| Property | Type | Required | Description |
|---|---|---|---|
| `eventStreamId` | `string` | Yes | The ID of the Event Stream whose location entries should be displayed on the map. |
| `collectionName` | `string` | Yes | The custom data type collection name that implements `EventStreamEntry` for this project. |

## Example Configuration

```typescript
// Widget data object for the EventStreamMap widget
const eventStreamMapWidgetData = {
    eventStreamId: "<event-stream-id>",
    collectionName: "<event-stream-entries-collection-name>"
};
```

## Related

- [Widget System](../../developer/widget-system.md)
