Before You Begin

Before you can use the Google Maps on iOS, you must have a billing account with at least one project, and the Maps SDK for iOS must be enabled. You also need to have some software installed.

Setting up your GMP account

If you have previously worked with the Google Maps Platform, you may have already performed one or more of these steps.

Step 1

To use Google Maps Platform, you must have a billing account. The billing account is used to track costs associated with your projects. Make sure you understand how the billing account credits work.

To create a billing account:

  1. Go to the Google Cloud Platform Console.
  2. Click the menu button and select Billing.
  3. Set up your billing account.
    • If this is your first billing account, on the Billing page:
      • Click the Add billing account button.
      • Follow the steps to set up your first billing account.
    • If you already have a billing account, on the Billing page:
      • Click the billing drop-down and select Manage billing accounts.
        You'll see a list of your current billing accounts.
      • Select Create account
      • Follow the instructions to set up your next billing account.

Step 2

To use Google Maps Platform, you must have a project. The project is the basis for managing services, credentials, billing, APIs, and SDKs. Usage costs associated with the project will be charged to the billing account linked to the project.

To create a project:

  1. Go to the Google Cloud Platform Console.
  2. Click the menu button and select Home.
  3. Click the project drop-down and select NEW PROJECT.
  4. On the New Project page, fill in the required information.
    • Project name: Accept the default or enter a customized name.
    • Project ID: Accept the default or click EDIT to enter a customized ID.
      • The project ID cannot be changed after the project is created, so choose an ID that you'll be comfortable using for the lifetime of the project.
    • Billing account: Select a billing account for the project (if you only have one billing account, you won't see this option).
      • You must be a Billing Account Administrator or Project Billing Manager to associate a project with a billing account. For more information, see Overview of Billing roles in IAM.
    • Location: If you have an organization you want to link your project to, click Browse and select it, otherwise choose "No organization".
  5. Click CREATE

Step 3

To use Google Maps Platform, you must enable the APIs or SDKs you plan to use with your project on Cloud Console.

Note that some integrations require you to enable multiple APIs/SDKs. If you are not sure which APIs or SDKs to enable, try using the API Picker, or consult the documentation for the API/SDK you want to use.

To enable one or more APIs or SDKs:

  1. See the Google Maps Platform APIs and SDKs that you can enable by going to the Maps API Library page in the Cloud Console:

    Go to the Maps API Library page

  2. Click the API or SDK you want to enable.
    • If the button says ENABLE, click the button to enable the API or SDK.
    • If the button says MANAGE, the API or SDK is already enabled and you don't need to do anything further.
    • Clicking either button will display the dashboard for the API or SDK. (Click the DISABLE button to remove the API or SDK from this project.)

Installing required software

To build a project using the Maps SDK for iOS, you need to download and install:

Now you're ready to get, add, and restrict a free API key to your app.