Skip to main content
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
narendiran
Partner - Creator
Partner - Creator

Thanks, Shahbaz

Still not getting the map on access point. I am not sure why this is happening. I am using qlikview version 12.

narendiran
Partner - Creator
Partner - Creator

Hi Leo,

Here the story is different, I am not getting error message either.

narendiran
Partner - Creator
Partner - Creator

Hi All,

I have installed the Google cluster map but which is not show below. I am wondering this could be a reason for the map not shown in access point

narendiran
Partner - Creator
Partner - Creator

Hi Candice,

Did get this working now? I am facing the same issue.

MK9885
Master II
Master II

That extension should work fine. I guess you have not placed the extension folder in correct path on server. That could be the only reason

Check your extension folder path on server and copy the folder which I uploaded. Usually the error can be due to old IE, extension folder path misplaced or some extra security from your company. But in this case you have it all ok?

And you'll see if an extension is installed or not when you click 'Add new sheet object' in webview.

Open access point>right click>new sheet objects>Extension objects (another way to check if extension is installed in server or not)


Open the access point in Chrome and also if in IE check if you getting a tab below which says 'Content blocked'

Show or hide content option.

Thanks.

Alexander_Thor
Employee
Employee
Author

Shahbaz, if you are okay with it can I update the extension in the original post with your additions?
I don't really maintain the extension that much nowadays so any additions is helpful

ljjtimmermans
Contributor II
Contributor II

I have copied the files supplied by Shabaz. The result is the same however. I keep getting the same error and the same info in the script-console:

Google Maps API error: MissingKeyMapError: https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error

So this solution is not working for me.

MK9885
Master II
Master II

Of course Alexander you can use it. It is your extension, lol.

I just modified the .JS according to my requirements. As I needed more than 1 cluster (different color) and also I removed the 'Map Listener' script for zoom on click for 'Markers' as that view was not appropriate for many users. They just wanted state level, not street level.

Thanks.

MK9885
Master II
Master II

I'm sorry, I don't know why you guys getting that error. For me it's working fine, both in desktop and server.

There is no key required for this, we do not have any option to update the API key anywhere in the script or extension

vijetas42
Specialist
Specialist

Hi Alex,

I have used the same extension but, it is not showing cluster and there values instead it is showing me NaN

could you please help.