Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Google Maps API

Hello,

I was looking some QV Dashboards and I found that I can insert a map with some information inside. How can I add this kind of object and associate the places with the information?

If anyone has a demo or some code, please let me know.

That will be great.

Thank you very much.

26 Replies
Anonymous
Not applicable
Author

hi, use the Script.qvs that I attached in the las response. There is the Gmap Key

qvwarning
Creator
Creator

I have changed the code in the example for the Dynamic Image and in the expression:

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

&

'&maptype='&var_maptype

&

'&sensor=false'

&

'&key='&gmap_key &'

It works very well. Thank you Sokkorn.

Not applicable
Author

Hi Juan,

Thanks for this work, You helped me a lot.

The map implemented is more meaningful by adding a circular dynamic graph reflecting for example the quantities sold by product as the attachment. Is possible?

unnamed.jpgunnamed2.png

agni_gold
Specialist III
Specialist III

plese sen QVS file for this qvw file.

Not applicable
Author


Hi Juan,

THanks.  I think I have somehow gotten the scale wrong.  Can you please advise?  THe points seem to be squeezed to the centre.

thanks!

cambodia screenshot.jpg

Please advise.  Is it the script? or the expressions? thanks!

Not applicable
Author

Hi Juan,

Up to now this post was very helpful for me.

But the thing here is, now I want to get India map.

For this what should I change in the .xml file.

Thanks in Advance,

Ananth

rido1421
Creator III
Creator III

Hi Soufiane

Please could you advise how to change the graph to a circular dynamic graph?