Change Map Color To a 'night mode black'

320 views
Skip to first unread message

morty346

unread,
Feb 27, 2014, 7:26:38 PM2/27/14
to mapsfo...@googlegroups.com
I see some rumblings about changing the background color of the map - 
I want to do this for a night mode

suggestions?


Ludwig

unread,
Feb 27, 2014, 10:24:39 PM2/27/14
to mapsfo...@googlegroups.com
There is a background color setting in the header of the rendertheme file.


--
You received this message because you are subscribed to the Google Groups "mapsforge-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapsforge-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mapsforge-dev/544c7e8a-f9e4-4041-8199-80116b816bae%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

emux

unread,
Feb 28, 2014, 2:14:36 AM2/28/14
to mapsfo...@googlegroups.com
Hi,

I remember seeing a mapsforge render theme at Orux forum
having night mode, based on Tobias Elevate theme.

I think it was named Simply Hike, you can check it also.
Between normal / night modes it was changing various sections.

Best regards, Emux
Cruiser - Cruiser Beta
Atlas - Atlas Beta

morty346

unread,
Feb 28, 2014, 3:59:10 PM2/28/14
to mapsfo...@googlegroups.com
What about the background load color?

I have changed the renderthem map-background="#000000" but how do I change the load color?

Thank you

emux

unread,
Feb 28, 2014, 4:33:20 PM2/28/14
to mapsfo...@googlegroups.com
You mean the map view background color before tiles are drawn?

You can change it with:
mapView.getModel().displayModel.setBackgroundColor

Best regards, Emux
Cruiser - Cruiser Beta
Atlas - Atlas Beta


Greg Mort

unread,
Feb 28, 2014, 4:37:07 PM2/28/14
to mapsfo...@googlegroups.com
Thats what I mean, thanks!


--
You received this message because you are subscribed to a topic in the Google Groups "mapsforge-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mapsforge-dev/B-tadFUiPm4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mapsforge-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mapsforge-dev/fb679979-2209-4c11-937f-c72c489d54a7%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages