Generating Keys for Google Maps API Using the APIs Console

March 19, 2012 in Google maps

I’m writing this post because I was asked many times how to generate keys for the web sites that are still using Google Maps APIs version 2 (or using GMaps4JSF that is still using Google Maps APIs version 2). Many users were confused because Google removed the key generation mechanism from the Google signup page and some of the users thought that it is no longer supported to generate keys for Google Maps version 2 applications. Fortunately, generating new keys for GMaps v2 applications is still supported.

Here are the steps that I follow for generating new key for my Google Maps API version 2:

  • Login to the APIs console at with your Google Account.
  • Activate the Google Maps v2 service by clicking the “Services” link of the left menu and then enabling the service as shown in the figure below:


  • Click on the “API Access” link of the left menu, then click on the “Create new browser key …” button, the following dialog will appear to you:


  • Enter the URL of your web site, and then click on the “Create” button, you will find your GMaps v2 key attached in the API access page as shown in the figure below:


Finally you can use this key for your GMaps v2 script include as follows:

<script src=";v=2&amp;key=ABCDEFGHIJK&sensor=false"

This is all about; I wish that this tip can be useful for you.


8 responses to Generating Keys for Google Maps API Using the APIs Console

  1. Is not more necessary a key in the new version (v3).

  2. It was useful! Nice

  3. My partner and I stumbled over here from a different web page
    and thought I might as well check things out. I
    like what I see so now i am following you. Look
    forward to looking into your web page repeatedly.

  4. Hi,
    I need to generate a key for Flash Map API, and followd the above steps, but the map key is not working, does it work for flash Map API? Or do I need to take few other steps to make it work?



  5. NFL said on June 16, 2012

    Very good blog post. I certainly appreciate this website.
    Keep writing!

  6. Fantastic post. Here’s a tool that helps create Map Mashup providing a step-by-step wizard that generates ready-to-deploy code on any website or blog

  7. Nice and helpful article.

Skip to toolbar