Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
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.
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
Something like: /QvAjaxZfc/QvsViewClient.aspx?public=only&name=Extensions/GoogleMaps - Cluster/markerclusterer.js
ok Alexander,
i am markerclusterer.js file placing folder is corrct or not ?
Regards
Perumal A
Hi Alexander ,
I am getting Error,i attached image file for your reference .
Regards
Perumal A
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.
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
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.
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
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