Signing up for a Google Maps API Key

Notice: Beginning on June 11, 2018, an API Key is now required for every map project using Google Maps library. You can read more about this Google guideline here.

This how-to will walk you through signing up for a Google Maps API Key and adding that setting to GravityView.

GravityView Maps uses Google Maps to display your entries on a map, as well as process the address details in an entry and convert them into longitude and latitude values.

1. On the Google Maps Geocoding API page, click "Get Started"

2. Check "Maps" and "Places", then click "Continue"

You need to check "Places," otherwise addresses will not be properly converted to a map marker using geocoding.

You will need Places checked, unless:

  • You are using another geocoding provider, such as Bing or MapQuest
  • Your form includes longitude and latitude fields (or has another method for providing entries with that data)

3. Click "Create a new project"

4. Name the project, then click "Next"

We chose to name it "GravityView Maps", but you can choose any name!

5. Setup billing

If you don't have a billing account, follow the instructions provided by Google to create a billing account.

Billing information is required by Google, although most small and medium sized websites will never need to pay: Google Maps is free up to 25,000 map loads per day. $0.50 USD / 1,000 additional map loads, up to 100,000 daily.

If you already have a billing account configured, click the "Set Account" button.

6. Click "Next" to enable your API keys

7. You now have your API key!

Good job—you're almost there!

8. Copy the API key by clicking the icon on the right of the API key field

And then click the Done button.

8.1 Note: You can access your API keys by clicking the APIs link in the sidebar

To access your Google Maps API keys any time:

  • Visit this link
  • Click on APIs
  • Click on Geocoding API
  • Click on the "Credentials" tab at the top
  • And you'll find your API Key available from that screen

9. Back on your site, visit the GravityView Settings page

Navigate to Views > Settings on your WordPress site.

10. Paste the API key into your GravityView Settings

If you don't see the setting, it's because the GravityView Maps plugin isn't activated. Check your Plugins page.

11. Update your GravityView settings!

You're all set now with your Google Maps API key.