Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
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.
Extensions, by design only works using Ajax
Thanks for your reply. I thought this might be the case. Do you know how to force one document on access point to open in Full Browser mode but allow all the others to open using IE PlugIn?
Thanks again!
Uncheck "IE Client" in QMC
Thanks once again!
akl
Sorry if this has been asked before, but is there a way to set at what interval the clusters icons change color? For instance the cluster stays blue until 50 markers are reached, then stays yellow until 100 markers are in the cluster etc.
Thanks in advance.
Hi Alexander,
I am relatively new to QV and the document I have taken over developing uses your cluster map. I have not made any changes to the map and we have just noticed that the clusters on the map have stopped working. Any idea why this may have happened?
Any assistance would be greatly appreciated.
Thanks
Maia
Hi Alexander,
I have implemented this extension in my document and it is working great.
however I noticed today that all the clusters are disappeared and is displaying only numbers in my map.
and when I tick the 'Single cluster style' checkbox it is displaying clusters with single colour yellow.
do you know why it is not displaying multiple colour clusters? it would be great if you can find this out for me, I am using QV11.20 SR7 64 bit and IE11.
Thanks in advance
Gopi
Hi,
I have the following trouble - since today GoogleMaps Cluster extensions fails to reflect any visualisation.
Does anyone have the same problem or have any idea what happens?
Marker and Heatmap works properly.
Thanks in advance.
Hi all,
We also had this problem, but have got it sorted now. It looks like the files on the googlecode domain have disappeared, but don't worry - they're on github.
You'll need to open the markerclusterer.js file in the directory and look for...
/**
* The marker cluster image path.
*
* @type {string}
* @private
*/
MarkerClusterer.prototype.MARKER_CLUSTER_IMAGE_PATH_ =
'http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/' +
'images/m';
Change this to...
/**
* The marker cluster image path.
*
* @type {string}
* @private
*/
MarkerClusterer.prototype.MARKER_CLUSTER_IMAGE_PATH_ =
'https://raw.githubusercontent.com/googlemaps/js-marker-clusterer/gh-pages/images/m';
and it should start working again for you.
Note - if you open the file in notepad, it won't be formatted correctly, but you should still be able to file the bit above, it'll just be on one line most likely.
Cheers,
Phil.
Thanks Philip,
Changing the URL worked for me and clusters come alive now.
Cheers
Gopi