# XWUIChatLocationMessage

A shared-location chat bubble: a non-interactive `XWUIMap` thumbnail centered on the message's `lat`/`lng` (with a single pin marker) above a clickable meta row showing the place `label` and `address`. Tapping the meta row fires the `onOpen` callback (the "Open in Maps" action). The `isOwn` conf_comp flag styles the bubble as the sender's own outgoing message, `height` controls the map preview height (default `180px`), and if `XWUIMap` fails to construct the bubble falls back to a static 📍 placeholder so it still renders.

## Basic Usage

A received location bubble pinned to "Al Bukayriyah Club Stadium" in Saudi Arabia at lat 24.7136 / lng 46.6753, with its label and address beneath the map.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Location bubble centered on a stadium in Saudi Arabia with a label and address under the map preview.
```

## Own Shared Location

An outgoing location bubble with a taller map preview and an Open-in-Maps callback.

```example
file: examples/OwnSharedLocation.ts
title: Own Shared Location
description: Sent-by-me location pinned to Mecca with a 240px map and an onOpen handler.
```

## Named Place, No Address

A received pin that shows only a place name under the map, with no street-address line.

```example
file: examples/LabelNoAddress.ts
title: Named Place, No Address
description: Location bubble with a label but no address, rendering just the place name.
```

```api
```
