0 Adding Google location services API key to RoCK 1 Michael Garrison posted 10 Years Ago My apologies if it's been asked, but we've got a non-profit grant through Google for free access to their paid Google Maps API (including geocoding, etc) to allow use on non-publically-accessible pages (like RoCK!). I don't know if their API is something that RoCK knows how to use instead of roughly equivalent services like Bing, but I don't see a place to put my Google key, nor any way to add a fifth service. Should there be a way, or is that something which would need a plugin or further development down the road? Thanks
Michael Garrison 10 years ago Thanks for spotting that. I might point out that the "Administrator's To-Do list" still prompts for a free Google Maps API key, and recommends that we might consider applying for such a free grant. If there's no way to support it, that should probably be removed to avoid such confusion.
Jim Michael 10 years ago Don't confuse Google Maps with Geocoding. Rock does use Google Maps for displaying geographical data, which is why the To-do list wants you to add a Google API key (which is done under General Settings > Global Attributes. What Rock does not do is allow Google to be used for geocoding, per the research they did in the paragraph from the Admin guide. As for your specific use case where YOU are allowed to use Google geocoding... only the devs could comment on how/if it's possible.
Michael Garrison 10 years ago Good clarification, thanks. I don't think that Rock makes a clear distinction on where it uses the two, or at least I didn't pick up on it. So the original question remains- you're not permitted, according to the Google Maps TOS, to use the normal "free" key on a non-publically-accessible site. That's a big part of the reason I applied for the Google Maps grant (the same thing that Rock mentions that we might consider). But that type of API access doesn't use a "key" like the free API keys do, but instead a Client ID in the URL of all the requests. And it doesn't appear that Rock has been programmed to accept a Client ID and format the URLs in that case.
Rock RMS 10 years ago Just to confirm what has already been noted. Rock does not have a geocoding plugin for Google. One could be developed fairly easily by the community using the ServiceObjects or Bing providers (https://github.com/SparkDevNetwork/Rock/tree/master/Rock/Address).