• Resolved Charles Ault

    (@charlesxault)


    I seem to recall a point in the Gmedia Photo Gallery installation that I had a chance to get a Google map key, but I didn’t thinking I would do it later. Now I can’t find a way to get a key. How can I get one now?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I just struggled through this and found the snags. I’m working well now, so hopefully this will help:

    1) Get a Google API number:

    https://developers.google.com/maps/documentation/javascript/get-api-key

    2) Put this number into the GMedia preferences box.

    IMPORTANT: I had a problem with this because when the Google site gives you the API, it automatically puts it on your clipboard. So, I pasted this into the GMedia preferences. Turns out, when you paste it puts a blank space in front. This makes the number unrecognized. So, after you put the number into the proper field, make sure there are no extra spaces before or after it.

    3) Go to the Google Cloud Platform dashboard:

    https://console.cloud.google.com/google/maps-apis/overview

    4) Click APIs in the left side.

    5) Activate the Maps Javascript API.

    6) Go to the API Credentials page:

    https://console.cloud.google.com/apis/credentials

    7) Click the API number, and then set restrictions if desired. (E.g., only requests from a given web address, or IP address.) If you don’t do this, someone else can use your API number to make calls to Google’s server.

    Hope this is helpful….

    Thread Starter Charles Ault

    (@charlesxault)

    Thank you! I got the API key. Now all I need to do is get it to show up on my photo gallery pages . . .

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘How to get a Google map API?’ is closed to new replies.