Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

API keys for google maps

Hi,

 

We are trying to use the visual Google maps in our dashboard but its asking for API keys, any idea how to get the API key for the same

 

regards,

dsmitha

 

2 Replies

  • Hi Anonymous 

    To use the Google Maps API in your Power BI dashboard, you will need to obtain an API key from the Google Cloud Platform. Here are the general steps to get an API key:

    1. Go to the Google Cloud Platform Console.
    2. Create or select a project.
    3. Click on the "Enable APIs and Services" button.
    4. Search for "Google Maps JavaScript API" and enable it.
    5. Click on the "Credentials" tab in the left sidebar.
    6. Click on the "Create Credentials" button and select "API Key".
    7. The API key will be displayed. You can then add it to your Power BI dashboard.

    You may also need to enable Billing on your Google Cloud Platform account, and also make sure you have enabled the APIs that you are trying to use, like Google Maps JavaScript API, Google Maps Embed API, Google Places API etc.

    Please note that Google Maps API usage has a limit, you can check for usage limit and pricing details in the link "https://developers.google.com/maps/gmp-get-started#create-project"

    Check these links as well:
    https://community.powerbi.com/t5/Developer/Use-Google-Map-API-in-custom-visual/m-p/190346

    https://community.powerbi.com/t5/Developer/Rest-API-Authentication-API-Key/m-p/1314965

     

    If this post helps, please consider accepting it as the solution to help the other members find it more quickly.

    Appreciate your Kudos!! 

    LinkedIn | Twitter | Blog | YouTube 



    • Anonymous's avatar
      Anonymous
      Not applicable

      hi VahidDM,

       

      Thank you very much for your crystal clear explanation

      Really helpful

      double kudoz

       

      regards,

      dsmitha