navit-project.org
http://forum/

How to Draw two paths on the map?
http://forum/viewtopic.php?f=19&t=607
Page 1 of 1

Author:  Fahad rajput01 [ 12 Aug 2016, 13:59 ]
Post subject:  How to Draw two paths on the map?

Hallo all

I have been working on navit route algorithm, now i am able to produce two different routes from given position to the destination.
struct route have a variable *path2 of type route_path which stores the path in it. Examining the code further i found that rm_rect_new function extract the data from the path2 variable and providing this data to the graphic and map plugin to draw it on the map.!
i have calculated 2nd route by declaring the variable *path3 and now if i am passing this variable to rm_rect_new function i can see different path is plotted on the map.

if some can help me finding the how graphic algorithm is working how i can manage to plot to different path on the map.
At what point its deciding to draw the path on the map.
how object is passed to the graphic algorithm.

please i really need help i have to complete this task as soon as possible.

thanks alot

Fahad
Cheers

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/