API KEY for Google Static Map

API KEY for Google Static Map

  

Hi all,

In several (outsystemscloud based) environments I'm using the Google Static Map API without any problem.


When using it in our on-premise (Oracle based) environment, the image is not shown. 

Google rejects it with the following message:

The Google Maps API server rejected your request. This service requires an API key.


I've tried to get an API key with the URL https://developers.google.com/maps/documentation/javascript/get-api-key but the generated and used key didn't do the job.

Can anyone help me out?



Solution

Hi Charles,

The key that you need is not for the Maps Javascript API but for the Static Maps API  https://developers.google.com/maps/documentation/static-maps/

Cheers

Solution

EUREKA!! :-)

That did the job Andre, thnx.

By the way Andre ... an idea to add the URL https://developers.google.com/maps/documentation/static-maps/  to the documentation / details in the Forge (https://www.outsystems.com/forge/component-details/542/Google+Static+Maps+API/) ?

Perhaps I didn't look good enough,but I wasn't able to find it ....

Hello Charles, and thank you for the suggestion.


I added a link to the Google Static Maps API documentation directly on the overview of the component:

https://www.outsystems.com/forge/component/542/Google+Static+Maps+API/


And a link to the guide on how to obtain a key in the description:

https://www.outsystems.com/forge/component-details/542/Google+Static+Maps+API/