Thread
:
[MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps
View Single Post
sony123
2012-07-29 , 15:39
Posts: 650 | Thanked: 619 times | Joined on Nov 2009
#
261
Managed to get traffic shown up in Maps. However, traffic doesn't automatically load when panning the map, either the codes don't have it or I haven't found the codes responsible for this yet.
The changes are: make traffic toggle visible in MapSettingsUI.qml, fix un-comment traffic setting loading/storing in MapApi.js, and fix the wrong function argument for trafficObject.requestTrafficAt() in MapApi.js (original code doesn't have 2nd argument for requestTrafficAt(), the argument is radius in km btw). By doing these, traffic show up, just doesn't auto-refresh when panning.
Last edited by sony123; 2012-07-29 at
16:40
.
Quote & Reply
|
The Following 8 Users Say Thank You to sony123 For This Useful Post:
godofwar424
,
Iryus
,
jecargo22
,
jhwan
,
MaddogG
,
smoothc
,
thedead1440
,
WhitP
sony123
View Public Profile
Send a private message to sony123
Find all posts by sony123