> For the complete documentation index, see [llms.txt](https://jolzee.gitbook.io/leopard/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jolzee.gitbook.io/leopard/components/maps.md).

# Google Map

Allows you to add a Google Map either inline in the chat window or in a modal.

## Modal

### Screenshot

<div align="left"><img src="https://4062709520-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-La71Iy76rotlqbCOWoQ%2F-LispmKPSlddLkR3OM-2%2F-LisqJGhl6JShEAhxtm5%2Fmap-modal.png?alt=media&amp;token=8073389e-d994-4d9f-bdce-1c13b6e420b9" alt=""></div>

### Output Parameter

```groovy
extensions = ${ExtensionHelper.displayMap("333 West San Carlos Street, 6th Floor, Riverpark Tower, San Jose, CA 95110", "webview")}
```

### JSON

```javascript
{
  "name"       : "displayMap",
  "parameters" : {
    "address" : "333 West San Carlos Street, 6th Floor, Riverpark Tower, San Jose, CA 95110"
  },
  "inline"     : false
}
```

## Inline

### Screenshot

<div align="left"><img src="https://4062709520-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-La71Iy76rotlqbCOWoQ%2F-M7Tu23mPtchmvnHlScX%2F-M7Tu4z9wjWc8i2tjvxS%2Fleopard-25.png?alt=media&amp;token=c6dcbfe0-a661-4a18-bd9a-2f318c75040a" alt=""></div>

### Output Parameter

```groovy
extensions = ${ExtensionHelper.displayMap("333 West San Carlos Street, 6th Floor, Riverpark Tower, San Jose, CA 95110", "webview", true)}
```

### JSON

```javascript
{
    "name": "displayMap",
    "parameters": {
        "address": "333 West San Carlos Street, 6th Floor, Riverpark Tower, San Jose, CA 95110"
    },
    "inline": true
}
```
