![]() |
Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
I tried the different route option settings today. Shortest and fastest gave me distinctly different routes. But I am not sure about 3, it gave me the same route as fastest, when the traffic on the route was red.
I also experimented with adding this route option to AppSettingsModel and exposed it to setting menu. But unsurprisingly, only pre-defined variables (in settingManager) are allowed so I couldn't use the set method to store the route option. I then added it as a property to AppSettingsModel, but like the comments in the code suggested, property in this QtObject is not reliable and I couldn't change the property either. |
Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
Today I also took a look at Maps' qml codes under /usr/share/maps/qml, hoping I could find something interesting.
But the only thing I found was a setting to enable automatic 2D/3D transition (e.g. zoom out becomes 2D, zoom in becomes 3D), but the implementation wasn't robust. I didn't see any TODO and traffic-related info. The components implemented in QML are limited, most of the meat are hidden under C++. Maps uses a private MapViewer element for displaying the map, and the codes don't reveal much of what features this object supports.... Overall, the qml codes for Maps is kind of messy compared with Drive's. The only things I changed so far are exposing the auto 2D/3D feature (not worth it) and get rid of the Analytic element... |
Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
Quote:
|
Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
Quote:
If so, any chance of getting hold of their QML files and see if we can sneak any features across ;) |
Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
Quote:
There are some references in the Maps QML about favorites, but I could not find a place where the ordering was set or explicitly reordered on a quick look. |
Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
Quote:
|
Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
I see that the time to distance is blank (- hr) when the distance is over an hour drive, once its below an hour it starts to show 58 min and such.
Using unstable patch. |
Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
Quote:
|
Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
Quote:
|
Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
Quote:
Or maybe this isn't such a big issue after all (but it is sure annoying me). |
All times are GMT. The time now is 17:00. |
vBulletin® Version 3.8.8