Qlik Community

QlikView Layout & Visualizations

Discussion Board for collaboration on QlikView Layout & Visualizations.

Not applicable

Changes in Google Maps API?

Dear Community,

is something changed in the last weeks in google maps api?

My static map in Qlikview has always worked but now it doesn’t load the background map.

Thanks

Pietro

Tags (2)
4 Replies
bellamae
Valued Contributor

Re: Changes in Google Maps API?

Hi Pietro

I am having the same issues, so yes I believe something has changed, I have not yet got to the bottom of what but am working with Qlikview, Google and my IT support so will let you know if I find a solution.

Bella

mov
Esteemed Contributor III

Re: Changes in Google Maps API?

davidwhite
New Contributor II

Re: Changes in Google Maps API?

I have found the fix that works as of January 2014 . It seems that you need to put an updated expression in the "Dynamic Image" field of the Colours tab in the properties of the object. The expression is as per the text below.

='http://maps.google.com/maps/api/staticmap?center='
&
num(var_mid_lat, '##############', '.', ',' )
&
','
&
num(var_mid_long, '##############', '.', ',' )
&
'&zoom=$(var_zoom)'
&
'&maptype='&
var_maptype
&
'&size='&
map_size_x&'x'&map_size_y
&
'&key='& 'AIzaSyAABZIVacmXaH_m5XNM2PzcJo3uDr12Rzk' & '&sensor=false'

Not applicable

Re: Changes in Google Maps API?

Thanks to Michael I found the right way.

I tried to put the link in chrome and the answer of the browser was:

“The Google Maps API server rejected your request. This site or IP is not authorized to use this API key.”

So I removed the API key from the link and it worked.

Community Browser