Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Alexander_Thor
Employee
Employee

Another Google Maps Extension

UPDATE 2013-03-23

It's great to see the support from the community around mapping! This thread has been great to follow and lots of fun contributions has been added.

It has however become quite crowded with different versions being discussed and it's hard to find any useful information anymore.

So I have decided to kill off this thread and at the same time I have updated the extensions and split them into 3 parts with each extension having it's own thread.

Hopefully this will make it a bit easier to find information, ask questions and share new implementions of the extension between each other.

Google Maps - Cluster

http://community.qlik.com/message/325640

Google Maps - Marker

http://community.qlik.com/message/325641

Google Maps - Heatmap (New!)

http://community.qlik.com/message/325642


If there is interest for a more collaborative development let me know and I will host the extensions up on Git.

Message was edited by: Alexander Karlsson

154 Replies
Alexander_Thor
Employee
Employee
Author

QlikView does not allow for relative paths so try inputing an absolut url for your script file instead.

Something like: /QvAjaxZfc/QvsViewClient.aspx?public=only&name=Extensions/GoogleMaps - Cluster/markerclusterer.js

You might have to url encode it since it contains blank spaces.

perumal_41
Partner - Specialist II
Partner - Specialist II

Hi Alexander

I kept markerclusterer.js file in this C:\Documents and Settings\QI\Local Settings\Application Data\QlikTech\QlikView\Extensions\Objects\GoogleMaps - Cluster. folder ,now how i want call  markerclusterer.js  in script.js file .

is this correct

http://localhost/QvAjaxZfc/QvsViewClient.aspx?public=only&name=Extensions/GoogleMaps - Cluster/markerclusterer.js?

please guide me ..

Regards,

Perumal A

Alexander_Thor
Employee
Employee
Author

Something like: /QvAjaxZfc/QvsViewClient.aspx?public=only&name=Extensions/GoogleMaps - Cluster/markerclusterer.js

perumal_41
Partner - Specialist II
Partner - Specialist II

ok Alexander,

i am markerclusterer.js file placing folder is corrct or not ?

Regards
Perumal A

perumal_41
Partner - Specialist II
Partner - Specialist II

Hi Alexander ,

I am getting Error,i attached image file  for your reference .

Regards

Perumal A

Alexander_Thor
Employee
Employee
Author

This works on my machine,

loadLibs();

function loadLibs() {

Qva.LoadScript('/QvAjaxZfc/QvsViewClient.aspx?public=only&name=Extensions/GoogleMaps - Cluster/markerclusterer.js', function () {

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

});

};

Also you should not be using the extension from this thread. If you read the first post you will notice that I have deprecated this version and migrated over to another extension.

perumal_41
Partner - Specialist II
Partner - Specialist II

Hi Alexander ,

Now also I am getting Error but different error ,i  attached ERROR1 image file  for your reference .

but when i give only file name  markerclusterer.js, this time i am not get error ,but cluster image file not Displaying

for Reference

loadLibs();

function loadLibs() {

Qva.LoadScript('markerclusterer.js', function () {

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

});

};

Regards

Perumal A

Alexander_Thor
Employee
Employee
Author

Yea, you are pretty much on your own if you want to continue using this extension.

As I said already, this version is deprecated and you should be switching over to http://community.qlik.com/thread/75665

With the code I pasted above it will work with the new extension. If it dosen't work you either copy pasted the wrong library from the internet or using the wrong version.

perumal_41
Partner - Specialist II
Partner - Specialist II

Hi Alexander ,

Now  I am gettingOutput , ,but cluster image file not Displaying in Extensions.

what reasons image not displying in Extensions.Please guide me

Regards

Perumal A

perumal_41
Partner - Specialist II
Partner - Specialist II

Hi Alexander ,

Now i am geting output,previous problem solved,.i need another requirements ,http://google-maps-utility-library-v3.googlecode.com/svn/trunk/routeboxer/src/RouteBoxer_packed.js   this file i want use it in in Google map extension. this requirement is possible or not ?,Please guide me.

Regards

Perumal A