Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Alexander_Thor
Employee
Employee

Google Maps - Cluster

Google Maps Extension with Cluster support.

QlikTech takes no responsibility for any code and QlikTech Support Agreement does not cover issues with this extension.

Please review Googles license agreement before you put this into production.

Introduction

This is a QlikView extension object that integrates Google Maps Javascript API V3 and a third party library called MarkerClusterPlus into QlikView.

Load a set a coordinates into QlikView and visualize them together with this extension. The clustering feature is create when you have alot of data points and needs to group/cluster them together for greater visability and performance.

The maxzoom property defines at what zoom level you want your markers clustered. The grid size property controls how big or small cluster grid size you want.

You can either use the extension 'as is' or use it as a base to further customize it to fit your needs.

Download the extension and view source code at: https://github.com/mindspank/GoogleMaps-Cluster-QV11

cluster.PNG

If you build something awesome please share it with the community!

Live long and prosper.


2015-02-15
Removed download from post, please grab the latest version from Github instead.

2014-02-03

Various fixes.


2014-01-09

There has been numerous upgrades to the extension.

Now clusters now display the value of your expression and with added support to include more information in pop-up labels.

Example grayscale styled map included.

Possibility to show only a single cluster icon style if you do not want it to scale according to the number of markers in the cluster.


2013-06-17

Added custom marker support. Now you can specify a url for an custom marker. Accepts all major image file types.


350 Replies
Not applicable

I tried using  Google maps cluster . Can somebody let me know which value to be given in the  custom marker URL ?

I just copied the Google maps cluster in web view and provided the latitude and longitude , the value is getting passed to the map but map was not displaying...

Apreciate if someone sheds light on this

Not applicable

Am too late in the game..

Wow.. I was able to integrate Google Cluster map, Google cloud map , Google heat map Sucessfully.

If any of you need help on integrating the above , pl let me know, I can help you out , end to end.

Regards

Sasken (a) Sathiakumar

qlik_dev
Contributor
Contributor

Hi,

Please, could I use this extention with Win XP 32 bits, IE 8, QlikView 11 RS2??

I have not managed to make it work with this configuration 

thank's

Not applicable

Hi, does anyone know the limit on the number of latitude/longitude values we can have? Also, how do I locate where the script for the extension has been saved on my computer?

Thanks.

Alexander_Thor
Employee
Employee
Author

I updated the orginal post with a fixed version of the extension where you now can select a single marker and it will still display correctly on the map.

Also I raised the number of maximum markers to 200k.

ysiroong
Contributor III
Contributor III

Alexander,

I was able to get the extension to work in a local copy of a QVW document.  But the object doesn't show up when I access the document through accesspoint.  I confirmed that the doc is opened to AJAX and not IE Plugin.  Any ideas?

I'm running QV version 11.20.11922.0.

EDIT:  Nevermind.  I found out that I needed to add the extensions to C:\Users\qvadmin\AppData\Local\QlikTech\QlikView.

Alexander_Thor
Employee
Employee
Author

You can also add it straight into C:\ProgramData\QlikTech\QlikViewServer\Extensions\Objects if you like. Then it aint tied into a specific service account.

If you want to the change the folder there is also an option to set up custom folder paths in QMC.

Not applicable

hi there,

i`m trying to use your extension,  but i`m getting some problems,

first, when I right-click my map it show a message that says "script error, code 0, error 'null' is null or is not an object, URL https://maps.gstatic.com/intl/pt_br/mapfiles/api-3/14/1/main.js", then I click ok and i can change the properties of the map, but when I specify the coordinates it gives me the second error.

Stack Overflow at line :29.

I tried to lower the amount of coordinates to make sure that I was sending the right data, but it keeps showing this message, that`s the expression i`m using to pass the coordinates : "=num(replace(Lat,',','.')) " and passing these lat /long for example -13.4850817732/-60.6382425338

if you could help me, ty

Alexander_Thor
Employee
Employee
Author

Never seen the first error before, seems it's google throwing an error at you.

The second error are most likely due to bad data.

If you wrap your coordinates in the num function it could convert your decimal sign to the document standard for decimal signs which might not be a dot.

Not applicable

I see, i think I`ll try to use the heat map, it`s showing more results, at least the map is appearing, but no the heat layers, I`m working on it now, thnx for the answer