Locus Map - forum

Content & Tools => Themes - Vector maps => Topic started by: karlchick on May 23, 2020, 23:16:10

Title: Possible to change colour of undrawn/loading tiles?
Post by: karlchick on May 23, 2020, 23:16:10
Is it possible to change the colour of the undrawn/Loading tiles?

I have a theme for night usage that uses darker colours but when I scroll the map my night vision is blasted by near white undrawn tiles, see attached example.

I know the LM night mode uses darker undrawn tiles, but it also inverts the colours.
Title: Re: Possible to change colour of undrawn/loading tiles?
Post by: Menion on May 25, 2020, 06:55:40
Hello,
there is settings for this in Expert settings (https://docs.locusmap.eu/doku.php?id=manual:advanced:customization:config#expert_settings) > Empty tiles color. It's anyway one setting, no matter which map/theme is selected.
Title: Re: Possible to change colour of undrawn/loading tiles?
Post by: karlchick on May 26, 2020, 00:03:40
Quote from: menion on May 25, 2020, 06:55:40
Hello,
there is settings for this in Expert settings (https://docs.locusmap.eu/doku.php?id=manual:advanced:customization:config#expert_settings) > Empty tiles color. It's anyway one setting, no matter which map/theme is selected.

@menion, I'm not finding any setting in expert settings for empty tiles in latest version, latest beta version or in the online documentation, am I missing something?
Title: Re: Possible to change colour of undrawn/loading tiles?
Post by: Menion on May 26, 2020, 07:53:18
Ah my bad, sorry. I see it's enabled only for my internal testing purpose.

Then so sorry, it's not generally possible right now.

From your requirements, it should make sense to have this definition included directly in vector theme.
Title: Re: Possible to change colour of undrawn/loading tiles?
Post by: karlchick on May 26, 2020, 11:01:23
It would be nice to be able set it in the theme, perhaps picking up one of the rendertheme tags, e.g. "map-background" or (v4 only?) "map-background-outside".

But just being able to set (or override) it in the app would be better than nothing.