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 Robby,
You can - Alexander Karlsson made a post about it here: Re: Google Maps - Cluster although you need to add your expression to the Popup Contents field rather than the Measurement one (The plugin has been updated since that screenshot was taken - same principle applies though).
Cheers,
Phil.
I was actually wondering if you could have the popup text be sourced from a data field in the Qlik application. When I try to use a text field from the model as the popup contents the map never comes back.
Just did a quick test and got it to work. All I put in Popup Contents was:
= 'Test Field: ' & FIELDNAME
Cheers,
Phil.
Yes the popup contents takes a qlik expression so normal expression syntax works. It also supports html tags so you could do something like ='<B>THIS TEXT WILL BE BOLD!!!</B><br><img src="https://placekitten.com/200/200"></img>'
Odd. For me I must put something numeric in. either a filed or just type in =1
Any text that I put in the Popup Contents window causes the map to just stay gray.
Hi Alexander,
I am trying to implement the extension. However I am failing to do so. I get a java-error. In the console I get the following message: "Google Maps API error: MissingKeyMapError".
Some searching on the internet lead me to the following page: Google Geo Developers Blog: Building for Scale: Updates to Google Maps APIs Standard Plan
Keyless access is no longer supported.
How to implement the extension? Where do I add the API Key?
hi,
I am also having the same issue. can you recall how you resolved the proxy settings?
Hi Philip,
This sounds like the same problem I'm having but cant find the correct .js file... can you advise on where it is?
Thanks,
It will be in one of two places depending on whether you're using it on your desktop or via an Access Point. Gopi Pattepuram lists the locations here: Re: Google Maps - Cluster. The extension should have it's own folder in either location with the .js file inside of it.
Cheers,
Phil.
Hi Leo, I'm trying to use the extension on QlikView Server and I get the same JavaScript error.
Could you solve the error? What did you do to sove it?
Thanks in advance.