Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
singhcv123
Contributor
Contributor

google map api

Hi...

I am using below code for the dynamic image ...

='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=' & gmap_key

& '&sensor= false'

& '&scale='& map_scale

--------

but still my google map is not showing for scatter chart kindly suggest.

3 Replies
jpenuliar
Partner - Specialist III
Partner - Specialist III

Follow the API Guide verbatim and you wont falter.

Can you attach your qv file, to look at

Anonymous
Not applicable

This it what I use, and it works.  Notice, there is no key.  If it doesn't work for you, the problem is most likely in the variables.

='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

agomes1971
Specialist II
Specialist II

Hi,

yes,

attach your qvw only with the google code...

Regards

André Gomes