How to create an API key for the Map Widget

The Map widget is supported on MacOS, iOS, Android, and Web (as of LiveCode 10.0.0 DP-3).

For Android and Web standalones, the Map widget requires an API key. You can specify this key in the Inclusions pane, in the Map widget row, by clicking on the cog icon:

In this lesson, we will see how to generate these API keys.


First, visit the Google Developers Console, at, and login with your Google account. Then click on the arrow to select a project:


Give the new project a Name:

and press the Create button. The new project os now created

Next, click on the Menu icon at the top left, and choose APIs and Services -> Credentials:

You should see something like this. Click on CREATE CREDENTIALS:

Choose API key:

An API key is now created:

This API key is now unrestricted. You can use this API key for both Android apps and Web apps. However, we suggest you restrict this API key to Android apps, and create a separate one and restrict it to Web apps:

Then, follow the same steps to create a new API key, and restrict it to Web apps:

You have now created two different API keys, one for Android apps and one for Web apps:

You can now enter these API keys in the Inclusions pane, in the Map widget inclusion row, in the dialog that appears after clicking on the cog icon:

Now, you can successfully deploy your app that uses a Map widget on Android and Web.


Add your comment

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.