Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Google Maps Extension with Markers.
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 into QlikView.
Load a set a coordinates into QlikView and visualize them together with this extension. This extension will plot every single data point as a marker on the map so if you have a large amount of markers please be aware that it might have some performance impact. If you are experiencing performance issues look into the cluster extension instead: http://community.qlik.com/message/325640
You can either use the extension 'as is' or use it as a base to further customize it to fit your needs.
Custom Markers
Added support for custom markers images. In the properties dialog you now have the option to specify a custom image.
You can either have a static image or let the expression evaluate one for you, for example:
=If(MyExpression > 1, 'http://image_for_true', 'http://image_for_false'). If you do not specify an url or enter an invalid one the extension will fallback to the standard marker.
Supported image extensions are bmp, jpg, jpeg, tiff, png and gif.
You can host the images through the qlikview webserver or through IIS.
If you build something awesome please share it with the community!
Live long and prosper.
Hi, I had a problem with the map. It only show 2 maker (but my data have more records). Where to make the changes/setting? Thanks.
Hi Alexander,
Is possible work this extension without internet connection?
Thanks in Advanced.
-JFlorian
Nope, you need a active internet connection to be able to browse google maps.
There are offline solutions but that requires you to purchase map tiles or sync a free service offline.
Dear Campos,
Do you got the solution for it? I'm working on the same requirement which you faced . I tried by following this blog.But , unable to find the solution for it.Can you please share the document such that it will be helpful for me alot. Thanks in advance.
Thanks & Regards
krishna
We purchased google maps enterprise key. How can we leverage the script for this map and apply license key?
@ Google Maps Extension Object - Markers.
I found this code to work well to change Google Maps Markers to specific pre-hosted images.
yeah, I am wondering the same thing. I have checked with script.js file with the extension but there is not place where I can put in my Google API key. Alex, please help us here.
Thank you,
Sohail Ansari
I'm going to assume you are referring to your client ID.
In the script.js file, simply append your client ID to the google maps script url.
The url you would then be:
https://maps.googleapis.com/maps/api/js?client=YOUR_CLIENT_ID&v=3.17
Then you would have to authorize the source of where the requests are originated from, done in the google enterprise portal.
It is also very nicely documented here Authentication - Google Maps API for Work — Google Developers
Hi Alex,
When I try this approach then all I see is a blank page in the place of the map. There's no error or message included. I did add the source in google enterprise portal.
Matt
Hmm strange, in theory it should work. However since I don't have a enterprise license I can't verify it.