maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N9 / N950 (https://talk.maemo.org/forumdisplay.php?f=51)
-   -   [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps (https://talk.maemo.org/showthread.php?t=85353)

mbanck 2012-07-10 18:33

Re: [PR1.3 MOD] How to enable Traffic in Drive
 
Quote:

Originally Posted by jd4200 (Post 1234481)
Thanks sony123, a real nice find.

Anyway, here's a patch to take away the tedious work. Tested and works fine.

Automatic method:
Download this shell script, rename it to maps.sh

The shell script is missing a "apt-get update" if the SDK isn't setup yet.

minimos 2012-07-10 19:11

Re: [MOD] How to enable Traffic in Drive for PR1.2/1.3
 
By the way, any idea *why* the functionality is hidden?

mbanck 2012-07-10 19:18

Re: [MOD] How to enable Traffic in Drive for PR1.2/1.3
 
Quote:

Originally Posted by minimos (Post 1235511)
By the way, any idea *why* the functionality is hidden?

The comments say "TODO: change back when management makes up their minds", so guess...

nieldk 2012-07-10 19:33

Re: [MOD] How to enable Traffic in Drive for PR1.2/1.3
 
Quote:

Originally Posted by Arie (Post 1235430)
Did you try to activate that?

no, didnt try, reading the devs comments seems like a plugin for this is not finished atm.

almamo 2012-07-10 19:48

Re: [MOD] How to enable Traffic in Drive for PR1.2/1.3
 
Thank you guys! It also worked for me, very happy about that.

Arie 2012-07-10 19:49

Re: [MOD] How to enable Traffic in Drive for PR1.2/1.3
 
Quote:

Originally Posted by nieldk (Post 1235524)
no, didnt try, reading the devs comments seems like a plugin for this is not finished atm.

Are you keen to test it or would you like me to?

nieldk 2012-07-10 19:57

Re: [MOD] How to enable Traffic in Drive for PR1.2/1.3
 
Quote:

Originally Posted by Arie (Post 1235534)
Are you keen to test it or would you like me to?

Did the changes, and got the choice Available in map colours (day /night /automatic)
However, colour doesn't change
Perhaps we can find the plug in and actually locate the problem :)

Arie 2012-07-10 20:01

Re: [MOD] How to enable Traffic in Drive for PR1.2/1.3
 
Quote:

Originally Posted by nieldk (Post 1235541)
Did the changes, and got the choice Available in map colours (day /night /automatic)
However, colour doesn't change
Perhaps we can find the plug in and actually locate the problem :)

I assume for automatic, it would have to be at night for it to change, did you test it at night?

jd4200 2012-07-10 20:05

Re: [PR1.3 MOD] How to enable Traffic in Drive
 
Quote:

Originally Posted by mbanck (Post 1235475)
The shell script is missing a "apt-get update" if the SDK isn't setup yet.

Thanks. Updated.

nieldk 2012-07-10 20:17

Re: [MOD] How to enable Traffic in Drive for PR1.2/1.3
 
Quote:

Originally Posted by Arie (Post 1235544)
I assume for automatic, it would have to be at night for it to change, did you test it at night?

Yes, it is evening here, also tried manual time setting

Button needs to be enabled in
/usr/lib/drive-qml/views/settings/mapModeSettingsPage.qml

Comments needs to be removed from
/usr/lib/drive-qml/models/MapSettingsModel.qml


All times are GMT. The time now is 07:27.

vBulletin® Version 3.8.8