-
Create an API key by following this instruction: https://developers.google.com/maps/documentation/android-sdk/get-api-key
-
Enable Travel Impact Model API via: https://console.cloud.google.com/apis/library/travelimpactmodel.googleapis.com
-
Restrict API keys to the following APIs:
Directions API, Maps SDK for Android, Maps SDK for iOS, Places API, Travel Impact Model API.
-
Clone this project using Android Studio and open
local.properties
file. Then append this line of code at the end:MAPS_API_KEY={YOUR_API_KEY}
where
{YOUR_API_KEY}
is your generated API key.