Qlik Community

QlikView Layout & Visualizations

Discussion Board for collaboration on QlikView Layout & Visualizations.

nenadvukovic
Contributor III

Google Maps do not show in the dynamic background

This used to work with no API_KEY provided. Now it does not work even with the API_Key provided. It works fine from the QV server when run from the IE.

='http://maps.googleapis.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='&var_key

Thanks

1 Solution

Accepted Solutions
nenadvukovic
Contributor III

Re: Google Maps do not show in the dynamic background

FYI: It looks again I have answered my own question


I see maps on/from the QV server after I disable the "Use automatic configuration script" setting in IE: Tools > Internet Options > Connections > LAN Settings

3 Replies
jpenuliar
Valued Contributor III

Re: Google Maps do not show in the dynamic background

Hi Nenad,

The below should work:

='http://maps.googleapis.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

&

'&sensor=false'

nenadvukovic
Contributor III

Re: Google Maps do not show in the dynamic background

Thanks Jonathan. This didn't help.

I am not a network admin but it is strange that when I work from home I can see the map from my computer or when I open the app from the QV server. But, if I open it using the Open in Server menu item I do not see the map. The same happens when I open the app from the QV desktop on the QV server.

For example, this works fine if ran it from the Internet Explorer on the QV server or any other computer (with and with no connection to the intranet):

http://maps.googleapis.com/maps/api/staticmap?center=,&zoom=1&size=640x400

This implies that network security is not a problem. But, then if I open the qvw from my computer when I am using a VPN connection the map is shown.


Any ideas what/where to look at?

Thanks

nenadvukovic
Contributor III

Re: Google Maps do not show in the dynamic background

FYI: It looks again I have answered my own question


I see maps on/from the QV server after I disable the "Use automatic configuration script" setting in IE: Tools > Internet Options > Connections > LAN Settings

Community Browser