Commit graph

4 commits

Author SHA1 Message Date
Victor Shcherb
f86f5f86aa Replace crlf with lf 2011-05-07 22:56:11 +02:00
pavol.zibrita
a24123cbde - removing not needed code for disabling day/night option when night renderer is selected
- fixed sunrise/sunset calculation, the calculated time was in local time zone but was parsed as GMT
- sunrise/sunset calculation is slow to be called in short intervals as it is now after changes for full night mode. Added
5 seconds delay between recalculations, which is OK. It is something like your sunrise/sunset is delayed by 5 seconds :-)

git-svn-id: https://osmand.googlecode.com/svn/trunk@871 e29c36b1-1cfa-d876-8d93-3434fc2bb7b8
2011-01-03 23:49:18 +00:00
pavol.zibrita
a60ef26f4d Auto switch day/night mode:
- added settings for sunrise/sunset,day,night,sensor auto switch
- DayNightHelper contains the base switching logic
- auto switching works only if render is selected which has its -night counterpart
- light sensor threshold is currently hard coded

git-svn-id: https://osmand.googlecode.com/svn/trunk@854 e29c36b1-1cfa-d876-8d93-3434fc2bb7b8
2010-12-25 23:56:17 +00:00
Victor Shcherb
355c44b955 sun rise calendar
git-svn-id: https://osmand.googlecode.com/svn/trunk@780 e29c36b1-1cfa-d876-8d93-3434fc2bb7b8
2010-12-08 10:14:47 +00:00