Webflow sync, pageviews & more.
NEW

What should I do if I use the map component in Webflow and want maps to continue loading properly after July 1st?

TL;DR
  • Enable Billing: Link a valid billing account in Google Cloud Console (includes a $200 free monthly credit).
  • Generate API Key: Create or update your Google Maps API key under APIs & Services > Credentials.
  • Restrict API Key: Limit usage to "Maps JavaScript API" and specify allowed domains (e.g., yourdomain.com).
  • Add Key to Webflow: Paste your API key in Webflow Project Settings > Integrations > Google Maps API Key.
  • Test Map: Publish your site, verify correct map loading, and check browser console for errors.

Google Maps is enforcing stricter API key requirements starting July 1st, 2024, which may prevent Webflow’s Map component from loading unless properly configured. Follow these steps to ensure your maps continue to function.

1. Enable Billing on Your Google Cloud Project

  • Go to the Google Cloud Console (console.cloud.google.com).
  • Navigate to Billing and ensure a valid billing account is linked to your project.
  • Google provides a $200 free monthly credit, covering most low-traffic use cases.

2. Generate or Update Your Google Maps API Key

  • Open the Google Cloud Console and go to APIs & Services > Credentials.
  • Select an existing API key or click Create Credentials > API Key.
  • Copy the key for later use.

3. Restrict Your API Key for Security

  • In the API Restrictions section, select Restrict Key and choose:
  • "Maps JavaScript API" (for Webflow’s Map component).
  • Under Website Restrictions, add allowed domains:
  • Example: yourdomain.com and *.yourdomain.com
  • Click Save to apply changes.

4. Add the API Key to Webflow

  • In Webflow, go to Project Settings > Integrations > Google Maps API Key.
  • Paste your API Key in the field and Save Settings.

5. Test Your Map Component

  • Publish your site and check that your map loads correctly.
  • Open the browser console (F12 > Console) for any API errors.
  • If errors appear, verify billing, API restrictions, and domain whitelisting.

Summary

To keep the Webflow Map component working after July 1, 2024, you need a Google Maps API key with billing enabled, domain restrictions set, and proper integration in Webflow. Updating your setup now will prevent your maps from breaking.

Rate this answer

Other Webflow Questions