Set up the Map Tiles API

  • Google Maps Platform products require an API key for authentication and billing purposes, associating your project with your Google billing account.

  • API keys can be created and managed through the Google Cloud Console or the Cloud SDK.

  • For enhanced security, Google strongly recommends restricting your API keys by limiting their usage to specific APIs and IP addresses.

  • Include your API key with every Map Tiles API request, ensuring the URL is properly encoded and uses HTTPS.

  • After obtaining your API key, utilize it to create session tokens for accessing 2D and Street View Tiles, or directly for requesting 3D Tiles.

European Economic Area (EEA) developers

This document describes the steps needed to start using the Map Tiles API.

Enable the API

Before you can use Map Tiles API, you must use the Google Cloud console or the gcloud command to enable it in your Google Cloud project.

To enable the API:

Console

  1. Open the product page in the Google Cloud console:

    Enable the Map Tiles API
  2. Click the Enable button.

gcloud

gcloud services enable \
    --project "PROJECT" \
    "tile.googleapis.com"

Read more about the Google Cloud SDK , Cloud SDK installation , and the following commands: