Running Qlik Sense 3.1.1 alongside NPrinting v17.3.0 and trying to get a report that shows a Qlik Sense native map object complete with the background tile map.
When the map object is added as an image to the NPrinting template, the report generates the dots OK, but not the background map:
What do I need to tweak to show the background map?
I think map renderring happens on the box where NPrinting is sitting.
RDP to this server using NPrinting service account and try to open hub and this application. I think you may have a problem with internet connection on NPrinting server (!! not QlikSense server !!) which is required and this prevents background from beeing rendered.
hope this helps
I want to add to this another coment.
this is only my suspicion but i think nPrinting "is faster" than internet connection generating background image. When i tested this, it happened to me on first report preview that i did not have background and on further attempts i had a background.
Also when i put image in betwen levels for XLS template first image was missing and rest was rendered as expected.
It may be a bug, or Qlik has to think about some iddle time until map object gets fully shown.
djk - have you ever tried NPrinting with Sense Map object? - did you encounter any issue? your thoughts will be very appreciated
Thanks for the response. What you've suggested makes sense, but I've checked the NPrinting server and the Qlik Sense Hub displays the app with the map (and background) OK.
I've also tried generating a report with just the map and nothing else, but still no dice.
well as i said - I encountered similar behaviour that the one you have described. That is why i asked Daniel, whether he is aware of any issues with maps background in NPrinting.
I may log a case with Qlik to make them aware of a problem and seek for solution.
We had this case investigated with Qlik - result is that "is working as designed". I agree with this after giving it a long thought.
Map background generation is not part of Qlik - as it uses OpenStreet map API service or one of your choice. The sufficient internet connection speed is a "MUST" in order to generate properly background image.
Like i suspected lack of background on map chart may be related to internet speed. I have tested this using my phone tethering with my laptop. If i was in poor reception with poor interenet speed - then NPrinting mostly generated map chart without background. On 4G/LTE network it was all working fine.
Chris - when you accessing Hub and opening Map chart do you experience a 1 second lag before you can see map background? That is all what is causing a problem!
Thanks for looking into this further - appreciate your help!
To answer the question of lag, the server doesn't experience any material time lag in painting the map. In fact, it paints the map before it paints the dots, which takes less than a second. This is while logged on to the NPrinting server as the account that runs the services.
I'm a little bit puzzled by Qlik's response of 'working as designed'. I'm not sure there is any use case for geopoint information without the map behind it.
If Qlik are saying native maps are supported with NPrinting, they should include the OpenStreetMap background map or this is a meaningless feature. A bit like saying a camera can take pictures of you, but there will be no background.
Just to back that up, I've taken some video frames from the app I've been testing with to show the response time:
The sheet opens, first painting the central charts:
Then the map components render, first showing the background map centralised over France:
Then, as the dots are painted, the map centralises and paints the UK:
The final result, taking 4 frames of video @9 frames/sec:
Looking at your examples indeed there is no problem with internet speed.
sorry i could not help more