# Display Location

Use this action to display a map location at specific latitude and longitude. Where possible, Xenioo will use platform specific location content.

![](https://2532694803-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvGYwUmVjfELEiJzfmWLC%2Fuploads%2FsFKlPqjFHxmlHYym4NPi%2Fimage.png?alt=media\&token=10d4120d-602e-46d9-9659-a38f1f625ade)

### Settings

The action uses the following settings:

<table data-header-hidden><thead><tr><th width="219.33333333333331">Setting</th><th width="310.5500538213132">Description</th><th>Parsed</th></tr></thead><tbody><tr><td>Setting</td><td>Description</td><td><a href="../dynamic-parsing">Parsed</a></td></tr><tr><td>Location Name</td><td>The name of the location.</td><td><span data-gb-custom-inline data-tag="emoji" data-code="2705">✅</span></td></tr><tr><td>Address Name</td><td>The full address of the location.</td><td><span data-gb-custom-inline data-tag="emoji" data-code="2705">✅</span></td></tr><tr><td>Latitude</td><td>The latitude of the exact location point</td><td><span data-gb-custom-inline data-tag="emoji" data-code="2705">✅</span> </td></tr><tr><td>Longitude</td><td>The longitude of the exact location point</td><td><span data-gb-custom-inline data-tag="emoji" data-code="2705">✅</span> </td></tr><tr><td>Enable Google Maps Fallback</td><td>If enabled, Xenioo will create a google Maps static image link for this location</td><td><span data-gb-custom-inline data-tag="emoji" data-code="26d4">⛔</span></td></tr><tr><td>Google Maps API Key</td><td>The API Key to be used for static map</td><td><span data-gb-custom-inline data-tag="emoji" data-code="2705">✅</span></td></tr><tr><td>Zoom Factor</td><td>The zoom factor to be applied to the static map</td><td><span data-gb-custom-inline data-tag="emoji" data-code="2705">✅</span></td></tr><tr><td>Marker Label</td><td>The label to be set on the map marker that will be added to the static map.</td><td><span data-gb-custom-inline data-tag="emoji" data-code="2705">✅</span></td></tr><tr><td>Generate Silent Map Link</td><td>If enabled, this action won't generate any content but fill a variable with the full static map url.</td><td><span data-gb-custom-inline data-tag="emoji" data-code="26d4">⛔</span></td></tr></tbody></table>

### Remarks

This action will display a native location content when supported by the current chat channel.&#x20;

If the target chat platform does not support a location content, [Google Maps Static API](https://developers.google.com/maps/documentation/maps-static/overview) will be used instead by displaying a static image.

If location content is not supported by the channel and no Google Maps Static API configuration is supplied, this action will try to display a link button redirecting to Google Maps for the supplied location name and address.

Please refer to the following table to check how your chatbot channel may behave depending on configuration:

<table><thead><tr><th width="195.03508771929825">Channel</th><th width="161.6378521468128">Native</th><th width="165.39478231906733">Map API</th><th>No API</th></tr></thead><tbody><tr><td>Facebook</td><td>No</td><td>Image</td><td>No</td></tr><tr><td>Web</td><td>No</td><td>Image</td><td>Link Button</td></tr><tr><td>Alexa</td><td>No</td><td>No</td><td>No</td></tr><tr><td>Google Assistant</td><td>No</td><td>No</td><td>No</td></tr><tr><td>Telegram</td><td>Yes</td><td>-</td><td>-</td></tr><tr><td>WhatsApp</td><td>Yes*</td><td>-</td><td>-</td></tr><tr><td>Slack</td><td>No</td><td>Image</td><td>Map Url</td></tr><tr><td>MS Teams</td><td>No</td><td>Image</td><td>Map Url</td></tr><tr><td>SMS</td><td>No</td><td>Map Url</td><td>Map Url</td></tr><tr><td>GBM</td><td>No</td><td>Image</td><td>Map Url</td></tr><tr><td>RCS</td><td>No</td><td>Image</td><td>Map Url</td></tr><tr><td>Discord</td><td>No</td><td>Image</td><td>Map Url</td></tr><tr><td>Custom</td><td>N/A</td><td>N/A</td><td>N/A</td></tr></tbody></table>

### Trigger

This action has no trigger.

### Variables

This action produces the following variables:

| Variable      | Description                                                                                         |
| ------------- | --------------------------------------------------------------------------------------------------- |
| location\_url | The Google Maps static map url. This variable is created only if Silent Map Link option is enabled. |

### Availability

Channel specific availability follows the table below:

| Channel          | Availability                      |
| ---------------- | --------------------------------- |
| Facebook         | Available as Static Map.          |
| WhatsApp         | Available on Supported Providers. |
| Telegram         | Fully Available.                  |
| Web              | Available as Static Map.          |
| Alexa            | **Not Available.**                |
| Google Assistant | **Not Available.**                |
| Slack            | Available as Static Map.          |
| API              | Fully Available.                  |

This action can be used only inside interactions and not as child of other actions. T
