> For the complete documentation index, see [llms.txt](https://chat-sdk.gitbook.io/android/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chat-sdk.gitbook.io/android/setup/enable-location-messages.md).

# Enable Location Messages

To show location messages Chat SDK needs to use the Google static maps API. You need to generate a new API key:

[Google Static Maps API](https://developers.google.com/maps/documentation/static-maps/)

And add it during Chat SDK configuration or when using `quickStart`.

```
ChatSDK.builder()
        .setGoogleMaps("Your key")
```

> **Note:** You need to enable billing in your google cloud console or else you will not be able to view map images in your messages, For more information visit the [Google usage and billing support page](https://developers.google.com/places/web-service/usage-and-billing#important-enable-billing)

You can disable location messages using the `builder().locationMessagesEnabled(false)` option.
