Topic: Google API Keys
Hey,
We have to integrate some API keys for the Google Maps API (specifically the location lookup service). Whereabouts do we add this information in Online Maps?
You are not logged in. Please login or register.
Infinity Code Forum → Online Maps Help → Google API Keys
Hey,
We have to integrate some API keys for the Google Maps API (specifically the location lookup service). Whereabouts do we add this information in Online Maps?
Hello.
Google Maps API is only required for some services, access to which you can get by using Online Maps API.
Make some global variable or constant with your Google API Key, and use it in methods that require this key.
Hi!
Just a follow up question - will we need to dig into the OnlineMaps code and insert the Google API key wherever we're making a request to Google services?
We plan to integrate this awesome plugin of yours in our other projects, would you consider adding this functionality in a future release?
Hello.
No. Google API Key is used only in Online Maps API, and you need to specify the key as a parameter to the method.
For example, OnlineMapsFindPlaces.FindNearby has required parameter "key".
http://infinity-code.com/doxygen/online … 7506e94d41
What sort of API key do we need? I created a Browser Key and a Server Key but both of them yield the following error message when I plug it into the example code you have posted here: http://infinity-code.com/doxygen/online … laces.html
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<PlaceSearchResponse>\n <status>REQUEST_DENIED</status>\n <error_message>This API project is not authorized to use this API. Please ensure that this API is activated in the APIs Console: Learn more: https://code.google.com/apis/console</error_message>n</PlaceSearchResponse>n"
Thanks!
Hello.
You need to enable «Google Places API Web Service», and use your browser key.
Perfect, thanks!
In case someone else had the same issue, I found that setting in Google's Developer Console, under the API Manager's Overview section under Google Maps APIs.
It appears that «Google Places API Web Service» has been deprecated. Could you please refer me to the current API to obtain the key from?
Hello.
Why do you think that "Google Places Web Service API has been deprecated"?
I just checked the documentation and google console.
There's no any information about this.
https://developers.google.com/places/we … arch?hl=en
https://console.developers.google.com/a … d/overview
Infinity Code Forum → Online Maps Help → Google API Keys
Powered by PunBB, supported by Informer Technologies, Inc.