View Single Post
Posts: 72 | Thanked: 29 times | Joined on Feb 2012 @ US
#194
Originally Posted by mbanck View Post
So about traffic and taking it into account for routing:

Now I bet that the underlying code actually allows for traffic to be taken into account, my old Symbian Ovi Maps routing has an option "optimal", however RouteOptions.TYPE_OPTIMAL or RouteOptions.TYPE_OPTIMIZED does not seem to work (you get an error like "unable to assign [undefined] to int routeType" on the console).

However, when I set it to "3" manually via a property, I do not get an error. On the other hand, on some initial tests, traffic jams do not seem to get evaded either, so I am not sure what it means.

(Setting routeOptionType to 2 instead of 3 clearly selects the shortest route for me)
This is awesome! mbanck, and sony123.

Are you guys secretly working as the Nokia Drive team at Nokia? haha! Keep up the great work!

Also thanks to colin.stephane once again for putting together and updating a patch. It provided me great learning experience in reading and editing qml code.