Skip to content
This repository has been archived by the owner on Nov 25, 2023. It is now read-only.

night mode #37

Open
karussell opened this issue Jan 19, 2019 · 8 comments
Open

night mode #37

karussell opened this issue Jan 19, 2019 · 8 comments

Comments

@karussell
Copy link
Member

This would be cool at some point

@boldtrn
Copy link
Member

boldtrn commented Jan 21, 2019

In theory the SDK can handle different map styles for day and night mode and I think an automatic switch depending on the time is also possible.

Right now, we don't have a night map style though.

@karussell
Copy link
Member Author

👍

@boldtrn
Copy link
Member

boldtrn commented Jan 22, 2019

I added the dark-matter map style to Mapilion - you can try it by going to Mapilion, click on Dark Matter next to the hillshading options. I could set this as night style for navigation? I don't think dark-matter is ideal for navigating, because it misses many essential details, but it would be good enough to show the switch between day/night.

@karussell
Copy link
Member Author

Hmmh, the contrast is too weak. But this is also not such a high prio :)

@karussell
Copy link
Member Author

When using minimum light the current theme also works okayish

@boldtrn
Copy link
Member

boldtrn commented Jan 23, 2019

It's up to you. I think it should be straight forward to change the night mode setting. I also think the Dark-Matter style is not ideal, but it could be better than our current style and show users that they can set two different styles. We could also try and make this configurable in the settings (but it might not work during navigation then, because we set the navigation values in xml and I am not sure if we could do this in the regular code).

@karussell
Copy link
Member Author

Let's wait for real demand as this seems to be not that easy - we would need a light sensor access as this should be enabled also in a tunnel IMO.

@boldtrn
Copy link
Member

boldtrn commented Feb 1, 2019

we would need a light sensor access as this should be enabled also in a tunnel IMO

Yes, but I think the better way to approach this is something like PathDetails than using a light sensor. This has been added like this to the Mapbox SDK here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants