Skip to main content

Map and Location Services

Map API Key In Code

Follow these steps to add map API keys in your code:

For Android

  1. Copy your Google Maps API key

    Copy Android Map API Key

  2. Paste it in the appropriate location in your Android code

    Paste Android Map API Key

For iOS

  1. Copy your Google Maps API key for iOS

    Copy iOS Map API Key

  2. Paste it in the appropriate location in your iOS code

    Paste iOS Map API Key

Enable Firebase Blaze Plan

To use certain Firebase features, you need to upgrade to the Blaze (Pay as you go) Plan:

  1. Go to your Firebase console
  2. Navigate to the Billing section
  3. Select "Upgrade to Blaze Plan"
  4. Enter your billing information and confirm

Enable Map Billing

To use Google Maps services, you need to enable billing:

  1. Go to the Google Cloud Console

  2. Select your project

    Map API Key 1

  3. Navigate to "Google Maps Platform" > "APIs"

    Map API Key 2 Map API Key 3

  4. Enable the necessary APIs:

    • Maps SDK for Android
    • Maps SDK for iOS
    • Places API
    • Geocoding API
    • Directions API
    • Distance Matrix API
    • Places API (New)
    • Maps JAvascript API

    Map API Key 4 Map API Key 5 Map API Key 6 Map API Key 7

  5. Under Billing, ensure your account is properly set up with payment information

    Map API Key 8 Map API Key 9 Map API Key 10

  6. Create API restrictions to secure your API keys

    Map API Key 11 Map API Key 12 Map API Key 13 Map API Key 14