Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

What's wrong with my google background image

Hi all,

     I made a bubble chart which use google map as background, the expression of dynamic image i used is as below

(refer to http://community.qlik.com/message/321080#321080 😞

='http://maps.googleapis.com/maps/api/staticmap?center='&var_mid_lat&','&var_mid_long&'&zoom=$(var_zoo...'

&map_size_x&'x'&map_size_y &'&key='&gmap_key &'&sensor=false'

The gmap_key i used refer to https://developers.google.com/maps/documentation/javascript/tutorial?hl=en#api_key .

But the background of the bubble chart is still black. I don't know why. Anybody knows?

Untitled.png

3 Replies
crusader_
Partner - Specialist
Partner - Specialist

Hi,

Try this one:

='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
&
'&language=ru'
&
'&sensor=false'


Hope this helps.


Andrei

Anonymous
Not applicable
Author

I don't use key anymore, but the rest is more or less the same:

='http://maps.googleapis.com/maps/api/staticmap?center='

&

num(var_mid_lat, '##############', '.', ',' )

&','&

num(var_mid_long, '##############', '.', ',' )

&

'&zoom=$(var_zoom)'

&

'&size='&map_size_x&'x'&map_size_y

&

'&sensor=false'

&

'&maptype='&var_maptype

Can you upload an example?

maxgro
MVP
MVP