Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
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

4 Replies
Anonymous
Not applicable
Author

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

Anonymous
Not applicable
Author

davidwhite
Partner - Contributor III
Partner - Contributor III

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
Author

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.