Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
beunderf
Partner - Creator II
Partner - Creator II

Change background color of 'empty' base map

Hi all,

I like to change the default background colour of the empty base map. It is a grey colour but I want to change it to white.

Thanks,

Frank

1 Solution

Accepted Solutions
Patric_Nordstrom
Employee
Employee

Hi Frank,

There is no setting for the background color.

However a big white box as a background layer will give the same effect.

Here's a geometry for a world covering box in WGS84, place in load script, use bg_box as dim/geometry

background:

load * inline "

id_box|bg_box

world|'[[ [-180, -80], [-180,  80], [ 180,  80], [ 180, -80], [-180, -80] ]]'

"

(ansi, txt, delimiter is '|', embedded labels)

;

To render: change draw order to Geodata layer, switch off the info bubble, don't include in AutoZoom, make the layer non-selectable and set color mode to single color: white.

Thanks,

Patric Nordström

Qlik

View solution in original post

1 Reply
Patric_Nordstrom
Employee
Employee

Hi Frank,

There is no setting for the background color.

However a big white box as a background layer will give the same effect.

Here's a geometry for a world covering box in WGS84, place in load script, use bg_box as dim/geometry

background:

load * inline "

id_box|bg_box

world|'[[ [-180, -80], [-180,  80], [ 180,  80], [ 180, -80], [-180, -80] ]]'

"

(ansi, txt, delimiter is '|', embedded labels)

;

To render: change draw order to Geodata layer, switch off the info bubble, don't include in AutoZoom, make the layer non-selectable and set color mode to single color: white.

Thanks,

Patric Nordström

Qlik