Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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

Hello,

Did you find a solution?

We have the same issue but everything works find on one QV Server... the Document has been moved to another server (for distribution) and they get the above error.

Sadly this is for a client and I don't have access to the server directly to see what is going on myself...

Thanks

Andrius45
Contributor III
Contributor III

Oh, sorry, I was referring to eric.careta issue

mnu
Employee
Employee

The solution for me was to add an API key to the script.js file as per these instructions:


  1. To get a valid API key go to https://developers.google.com/maps/documentation/javascript/get-api-key and follow the instructions to copy the API key to the clipboard
  2. Open the following file on the QlikView server in Notepad:

         C:\ProgramData\QlikTech\QlikViewServer\Extensions\Objects\GoogleMaps – Cluster\script.js

    3. Find the text below

          Qva.LoadScript('https://maps.google.com/maps/api/js?key=YOURKEYGOESHERE&sensor=false&callback=map_init')

     4. Change the key value shown to a valid key and save and close the file

     5. Refresh the page and the issue should be resolved

ljjtimmermans
Contributor II
Contributor II

Thanks Matt. That does the job for me

Anonymous
Not applicable

Hello,

the unchecked function "Single Cluster Style" doesn´t works. When the function is unchecked, none icon are displayed.

I looked into the markerclusterer.js and I realized that the others icons used to be loaded from "http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/images/m", but this pages doesn´t exist anymore, the images were moved to github "https://github.com/googlemaps/js-marker-clusterer/tree/gh-pages/images".

I thought if I changed the images´s path my problem would be solved, but didn't work either.

Are there any solution to my problem?

filip_schou
Contributor
Contributor

Hello!

Does this extension only work with QV11? Are there any special settings required to get it to work with QV12?

eduardo_dimperio
Specialist II
Specialist II

Hi Alexander, exists some Qlik Sense Maps Extension. Actually i'm using google maps toolkit, but for multiple points it make my browser consume too much memory and crash

timmarsh
Contributor III
Contributor III

Hi Alex, this is great.


This is going to sound stupid but is there a set up guide for this?

i.e. what to include and where/how?


Tim

Anonymous
Not applicable

Hello Candice!

Have you managed to find a sollution for viewing the extension through access point? Thanks in advance!

Michael

MK9885
Master II
Master II

Some extension don't work in IE Plugin Mode.

Change it to Ajax and try it?

Go to QMC and change your plugin option and see if it works