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.
Hi emilio.colom
I haven't found a solution yet. No reply to my post. So I am not able to use cluster markers.
Hope the issue will be solved soon.
Leo
Ajax.js error?
Could you please share the screen shot of the error?
Hi Alex,
I have installed your extention and copied the files
from AppData \ Local \ QlikTech \ QlikView \ Extensions \ Objects \
To ProgramData\ QlikTech \ QlikViewServer \ Extensions \ Objects
the extension works well with the desktop but not on the server, the map simply didn´t show up.
Check your IE version. I believe it should work fine with IE 9 and above..
You can self check it by pressing F12 in IE which will open Developer settings and click on 'Emulation'
Try changing Browser Profile/Document Mode and check if the Map renders or not.
I am working in Microsoft Edge. If I change to IE 9, I get the same error.
Screenshot attatched. It is in Dutch however and it says:
Something went wrong
Google Maps did not load correct on this page
Look at JavaScript-console for technical details
The error in the console is following:
Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error
So, the api-key is missing and I can not put this anywhere in the extension.
I did some research before posting and api-key is required for new domais. Take a look at Google's announcement in June 2016: Google Geo Developers Blog: Building for Scale: Updates to Google Maps APIs Standard Plan
Hi Shahbaz,
Thanks, but I am using edge the latest version and also using the latest version in qlikview.
Should be something else that I am missing.
If you guys want I can upload my Script.js here so that you can copy paste in your Cluster extension folder and give it a try?
Note: Save your old .js file before overwriting this and also I've edited the java script and removed the marker zoom to lowest level (street level).
I'm not using any type of key and I've already tested it on access point and it's working fine.
Yes, Please Shahbaz
I'm uploading the whole extension folder. Just replace this folder with your older folder and the extension offered by Alexander did not work for me as it had ajax.js error.
This is same cluster extension only but a different .js file (by Alexander).
Thanks.
Note: I've modified the .JS and added few clusters. You can delete that script from Script.js if you just want single cluster to render on map.
Thanks.