Qlik Community

Qlik Design Blog

All about product and Qlik solutions: scripting, data modeling, visual design, extensions, best practices, etc.

Employee
Employee

You wake up in the morning and head down to the living room; faintly you hear a lingering “hohoho” from the chimney. Santa was here – and he left us something wonderful!


Santa is early this year, not only did he bring us a new and shiny service release for QlikView he also included a free to use mapping extension!

When you install the latest version of QlikView, http://www.qlik.com/download/, we now ship an Example Extension Object that makes use of OpenLayers and MapQuest.

So how do I make use of this sweet nectar you say?
Let me take you on a journey and explore some mapping possibilities!

  1. Head out and install the latest version of QlikView, make sure you install the examples.
  2. Navigate to C:\Program Files\QlikView\Examples\Extensions and double click the “Extensions Examples.qar” file. This will install all of the extension examples.
  3. Open the QlikView “Extension Examples that you can find in C:\Program Files\QlikView\Examples\Documents\
  4. In the Mapping tabs you will find examples on how to plot either dots/points, lines or polygons.

map.png

Attached to this post you will also find a dataset and an app that contains all of the high speed cameras in Sweden with corresponding latitude and longitude points if you want to play around with the extension, make sure you install the extension first, on your own.

Keep on Qliking!

Keep in mind

Extensions are generally built upon web technologies such as HTML and JavaScript and for QlikView to be able to render these objects on the screen you will need to run QlikView Desktop with WebView mode enabled or access the document through the AJAX-client over AccessPoint. The IE-plugin does not support extensions.

Disclaimer

The QlikView Mapping Example Extension can be configured to use many different map tile sources.

Each map tiles source has its own terms and conditions and the user assume all responsibility for the selection of a source for map tiles and for compliance with the terms and conditions of the selected source. Any and all liability associated with the selection of a tile source and the compliance with the terms and conditions of the selected source is hereby disclaimed.

24 Comments
Partner
Partner

Will this extension supported by qliktech, if there are any issues?

0 Likes
787 Views
Employee
Employee

Examples are provided 'as is' and are not covered by the maintenance agreement.
With that said - there is basically three things that could potentially break (probably more but trying to illustrate a point here.

  1. JavaScript errors caused by a bug in your browsers javascript vm. Out of our control.
  2. Data quality issues - your data set is not 100% accurate causing the extension to show faulty data.
  3. Map tiles - QT does not own the map data. In this case it's OpenStreetMap tiles provided through Mapquest. OSM is a great open source project which I encourage everyone to check out however if for example a small river is missing from the map it's hard for us to 'own that problem' which saying we support this extension would imply.

If however QlikView has a bug that would affect extensions causing all/any/some extensions to fail then yes that would be covered under the maintenance agreement as the JS API is part of the product.

tl;dr - No. But most likely you won't experience any problems and if you do it's likely that error is supported as part of the API.

0 Likes
787 Views

Alexander

Looks very promising.

Having just looked on the web, both OpenLayers and MapQuest appear to free.  So is this ok licence wise to just use this or does one need to purchase additional 3rd party licensing for Business use on an internal local network ?

[Obviously one would need QlikView licensing sorted]

Best Regards,     Bill

0 Likes
787 Views
Employee
Employee

Hi Bill,

No third party licenses has to be purchased if you are using the OpenLayers and MapQuest tiles.

MapQuest appreciates any heads up if you would drive an enormous amount of traffic in their direction, 4000 tiles/second over a sustained period of time.

You do have the option to change the map tiles provider to something else then it's up to you make sure you are following that providers ToC.

0 Likes
787 Views
Not applicable

Nice

0 Likes
787 Views
Partner
Partner

Anyone having trouble getting the event calendar to work on the server.  The object shows up on the list as an extension object but when you add it to the document QV adds a plain calendar object.  Using the AJAX client on both IE8 and FF.  Works fine if you just use the desktop in web view tho.

0 Likes
787 Views
Partner
Partner

Great update for direct select metodology and function very efficent.

The new map extention is new jump.

0 Likes
787 Views
Not applicable

Very nice . Does the object support multipolygons?

0 Likes
787 Views
business_geogra
New Contributor III

Hi everyone. You can also consider GeoQlik for enhanced mapping features. GeoQlik is provided by Business Geografic, QlikView's first mapping partner and premiere Qonnections 2013 sponsor.

GeoQlik_v11.7_flowmaps_black_border.png

geoqlik_v11_heatmap_border.png

More information on http://www.geoqlik.com/.

0 Likes
787 Views
kullenberg
New Contributor

Hi Alexander,

very nice but..

any chance the extension can be updated with the option of changing the tooltip?

right now it simply says example tooltip which is not that useful.

thanks

Magnus

787 Views
Partner
Partner

You can change the value in script.js file, but it is not dinamic    

0 Likes
787 Views
Not applicable

Have anyone deployed the mapping extension???

I yesterday implemented an example of the mapping extension. Everything was working fine up until today when I got an error "Navigation to web page was cancelled"

Any ideas??

0 Likes
787 Views
Not applicable

Hi Nikos, the mapping example in SR5 is a great start if you want to begin develop extensions and sharpen your javascript skills.

However, if you want a supported solution with examples and documentation, check out QV technical partners, for example IdevioMaps. These solutions also comes with more advanced features such as drill down regions, route optimization, geocoding etc etc.

Thanks,

Patric Nordström

(disclaimer, I work for Idevio:-)

0 Likes
787 Views
Not applicable

Does this extension has limit on nr of display units?

I'm trying to display 80k lines but not all are present... and when I click on one unit, it show the location and not the line...

Do u have any ideia?

0 Likes
787 Views
sudeepkm
Valued Contributor III

Nice post. Thanks a lot.

0 Likes
787 Views
Partner
Partner

Alexander, thanks for the contribution to the community, I'm starting with the implementation of maps, I understand that I have several options, using google maps with API, using an Extensions such as those you have developed and using applications market place, what are the costs associated these options to take them into account in production environments? which you recommend to a client that only requires spatial location of their headquarters.

0 Likes
787 Views
borisman
Contributor III

Hi Alexander, is this extension supposed to work in Chrome? I checked on two PCs and the demo works fine in IE11 and 10 but I see no map in Chrome.

0 Likes
787 Views
Partner
Partner

Hi kavrosDA,

Did you ever find out what caused your Navigation Cancelled with GeoQLik.

I am getting the same (even if I end up deleting the GeoQLikExtension object)

Thanks

0 Likes
787 Views
Not applicable

Hi John,

The issue was caused by qlikview itself not the extension. You can try  to close down the qlikview app and re-open qlikview application itself blank(do not open any qlikview project) and then consequently open the mapping project. It will work it if try once of twice.

0 Likes
787 Views
Partner
Partner

Hi KavrosDA,

Thanks for this. That indeed solves the problem.

0 Likes
787 Views
Not applicable

Hello there,

I am currently working on a map where I am trying to display a bunch of points on a map and then show some of them as red when a column >99, and black when not. Oddly, I cannot get the map to do this. When I select only the rows that have the column >99, then the red appears, but when I select all rows, they turn to black. It's almost as it the black is overriding the red when there is a "first" observation of black, but when there is not, then the red appears.

Here's my expression:

=If(measurement > 99,'#EB1A1A','#000000')

Any suggestions for how to fix this?

Otherwise, really loving this feature!

Thanks.

0 Likes
787 Views
Not applicable

I'm loving these features also but would love some help as I'm not proficient in Javascript and have tried without success to recode. I would like to center the map based on the highest activity by Long/Lat i.e. When the map opens it would auto centre in the area where the greatest density of coordinates are located. Appreciate any assistance in advance?

0 Likes
787 Views
thornofcrowns
Valued Contributor II

Hi, I realise that I'm *years* late to the party, but since July 11, 2016, MapQuest do not allow direct access to the map tiles. You can get a free license key, but I have no idea how this would be used in the example files here.

0 Likes
787 Views
jonathanalm
New Contributor III

Same goes for me. I have retrieved a new key but have nowhere to add it.

0 Likes
787 Views