Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
May 3, 2019 11:48:47 AM
May 3, 2019 11:47:20 AM
This video shows you how to add a background layer in a Qlik Sense map. Starting from Qlik Sense April 2019 release, it is now possible to set a default map background for all new map charts. Enabling further customization of backgrounds, now users can choose to set their own predefined background instead of using the Qlik standard background.
This feature provides better support for handling geographic considerations such as disputed regions with politically sensitive boundaries.
You can use the qvf attached to try out this and the other Qlik Sense feautures included in Qlik Sense April 2019 release.
Sure, that's doable. Add a line layer, dimension =1, location: "line geometry" and expr:
='[[[0,0],[705,595]]]'
Set color opacity none to hide and move to back.
Thanks,
Patric
@Patric_Nordstrom I should have been a bit clearer. I have hundreds of different floor plans but the image height and width data is not available as this is not stored in any of the systems.
I do have the locations of the various points that need to be plotted in the point layer as pixel (top and left) co-ordinates.
Is there a way to work around this to still display the image correctly with the right size in the base layer without the image height and width?
Thanks.
@beverleyosaze In order for images be scaled and placed correctly, it's mandatory to set image width height and position.
In case with hundreds of images I would write a script in powershell to extract the dimensions and the image name and save to csv file.
And then load in to Sense, and dynamically set the image url and bounds with expressions, for details see the example app here:
https://www.dropbox.com/s/0v1oxirox4w2h7k/ImageLibrary.qvf?dl=0
Thanks,
Patric
Thank you @Patric_Nordstrom for your help. We've decided to go down the route of extracting the height and width data from the images prior to encoding in Base64.
I've noticed that in NPrinting though the object only accepts typed numerical values for height and width and fields can't be used.
Do you know how to work around this in NPrinting please to ensure the actual height and width are used?
Using the 'Fit' option parts of the map image are still being cropped.
Many thanks.
Do you know how to work around this in NPrinting please to ensure the actual height and width are used?
Not an NPrinting expert but I presume the print service needs to have all extent fixed by time of print. What type of report are you building?
Thanks,
Patric
@Patric_Nordstrom It is a power point report.
The report object only allows you to set one height and width as opposed to using the different height and width from data for each different image.
This is a little tricky . There is good flexibility of image size settings when importing images into an excel template. But with powerpoint there is less options. Probably because a powerpoint slide has a lot more real estate limitations then an excel sheet
Do you have an app to share ? With ppt , we can configure qlik sense to render a chart to a certain size ('data displayed height' and ' ...Data Displayed width' … which is like changing the object size in the qlik app to see more or less data based on the responsive design. With excel you can do a max height / max width which scrapes out all or less of the displayed imaged with the new sizing and then stretches/fits that into the ppt slide. But with ppt is more limited. If we can get display data width/heigh to an aspect ratio works for all the images, that can be placed as an object in ppt with the SAME amount of pixels for rendering .
if you have a test sample to share (template and app) please feel free
Hi,
I have question about a size limit of background image. Can I load for example scan of mapshhet, file of size 100 MB?
Thanks in advance
@ozioz 100 MB is way to big to have users download for every session.
Consider tiling and also resampling. Christof Schwarz shows one way to do it:
https://www.youtube.com/watch?v=4uWlmNm95n8
Thanks,
Patric
Hi guys, regarding the image used as a background, I've tried uploading it to Google Drive and setting the permissions to "view anyone with link". It worked.
However, if the images should only be accessible by the Qlik application user (not by anyone on the Internet) what would you recommend to do? Can I upload them to a cloud service (Google Drive, Amazon S3, Azure) and then pass the credentials to the Qlik application?