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: 
Alexander_Thor
Employee
Employee

Another Google Maps Extension

UPDATE 2013-03-23

It's great to see the support from the community around mapping! This thread has been great to follow and lots of fun contributions has been added.

It has however become quite crowded with different versions being discussed and it's hard to find any useful information anymore.

So I have decided to kill off this thread and at the same time I have updated the extensions and split them into 3 parts with each extension having it's own thread.

Hopefully this will make it a bit easier to find information, ask questions and share new implementions of the extension between each other.

Google Maps - Cluster

http://community.qlik.com/message/325640

Google Maps - Marker

http://community.qlik.com/message/325641

Google Maps - Heatmap (New!)

http://community.qlik.com/message/325642


If there is interest for a more collaborative development let me know and I will host the extensions up on Git.

Message was edited by: Alexander Karlsson

154 Replies
Not applicable

Hi Julie,

This looks perfect for what we want to try and acheive! Many many thanks for your reply.  Would it be ok to get back to you in the near futire with some questions?

Many thanks again!

Fiorano

Julie_Main
Employee
Employee

No probs, happy to help.

J

Not applicable

Thank you Alexander for your answer,

Kind Regards,

Rémi

Not applicable

Hi Ralf,

Thank you for sharing the OSM map, it has nice interface and functionality

I have installed the map on my QlikView Server (version 11). The extension object works fine on QlikView developer however when I publish the dashboard on access point I do not see the map on dashboard. I added the map manually from extension objects section in dashboard from accesspoint but I still do not see the map.

I have installed the map at following location -

C:\ProgramData\QlikTech\QlikViewServer\Extensions\Objects\QlikView\Examples

The folder name is - CloudMadeWebMaps

Please help me to fix this issue.

Thanks,

Samir.

Not applicable

Hi,

I have been trying to use this extension to produce heatmaps.

I can load up the extension fine but the heat colours are not showing.

Do I need to set these up somewhere?

I tried looking at the js file and definition file but could not find anything.

Can someone please help to get this working?

Thanks

adamdavi3s
Master
Master

Hi Alexander,

Have you ever tried the extension using an enterprise crypto code?

We want to use the extension on our intrAnet so have paid for the key... I am just a bit flummoxed how to sign the url with it as I have never ever even looked at jscript before!!

Kind regards

Adam

Alexander_Thor
Employee
Employee
Author

Hi Adam,

Sure and it's actually very straight forward. Since this extensions utilizes the javascript API which is considered a client side API you don't need to sign your urls.

First you would have to log into your Google Maps Support Portal. There you add your urls that's allowed to use your client ID.

For example http://my_internal_network/

Second open up the script.js file and change this line

Qva.LoadScript('https://maps.google.com/maps/api/js?sensor=false&callback=map_init')

to:

Qva.LoadScript('https://maps.googleapis.com/maps/api/js?client={gme-yourclientid}&sensor=false&callback=map_init')

Replace {gme-yourclientid} with your Google ID and you are done

One benefit of business version is that you can also track your google maps usage that's coming from qlikview.

Add for example &channel=qlikview to your url and every request that's coming from qlikview will be tagged and will appear in your usage report from Google.

Edit: URL signing only have to be implemented for Googles webservice APIs such as static maps, directions and geocoding. So if you plan on converting tons of address into coordinates in your script you would have to create a small application outside of QV that signs every request for you. Sadly we are currently lacking support to plug in a custom module that leverages server side capabilties.

adamdavi3s
Master
Master

Hi Alexander,

That is fantastic thank you! I thought we had to use the client AND the signature to make it valid which is where I was going wrong.

Thanks for your help!

Not applicable

Alexander, could you answer this question? I have the same problem. I was experimenting with heatmaps (through your javascript) for quite a while, but I didint get not one significant result.

After that heatmap extension didnt show results, I dont know what might be the problem. I am confused, could it be that the same extension and example works on your computer, but not on mine?

Alexander_Thor
Employee
Employee
Author

So this thread has grown way to large and right now it's pretty hard to find any useful information in it at all.

I have update, broken them down and re-wrote them pretty hard so I will create three separate threads so we can have a clean thread for each different extension.