11 Replies Latest reply: Dec 10, 2011 7:42 AM by Francesco Puppini RSS

Google API Key / Using Google Maps

Richard Sheppard

Hi,

 

Have looked at a number of QV documents that are using Google Maps / scattergraphs.  The majority of the documents that I view, only display the scattergraph element and not the map itself.

 

1) Is this due to the fact im using the old QV v8.5 or is it linked to the fact I have not entered / updated the Google API Key?

2) Looking at the sign up process to get an API Key, it asks you for the URL where the QV doc is hosted.  As I am developing it locally on my machine, then it will be hosted on the intranet - do I therefore need to get the Google Maps API Premier - or is there another way around this?  Or what URL do I enter?

 

Looking at the following QV doc posted by "Sri Vidya" http://community.qlik.com/message/97099#97099, the "google_loc.qv" doc uses the following script which i'm led to believe removes the requirement for a key?

              gmap_key = 'xx';

but again this doc doesn't display the background map, just the scatterchart.  - a QV v8.5 issue?

 

Have found links to Rob Wunderlich's cookbook, and found an example that doesn't require an API Key.  Have adapted it to include europe and countries, but was wondering whether region could be included in this manner?  ie GB-LND for London, as hinted in the http://code.google.com/intl/nl/apis/chart/image/docs/gallery/new_map_charts.html .

 

Adapting the attached file to incorporate a few European regions, (ie GB-LND), im unable to return the data correctly

 

Any tips greatly appreciated,

 

Kind regards,

 

Rich