navit-project.org

forum for navit navigation tool
It is currently 18 Aug 2017, 16:18
View unanswered posts | View active topics


All times are UTC


Forum rules


Feel free to ask anything here related to the development process - coding, creating new features, fixing bugs and custom changes of Navit.

Note: For reporting bugs, use the bug tracker.



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: How to Draw two paths on the map?
PostPosted: 12 Aug 2016, 13:59 
Offline

Joined: 16 Nov 2015, 12:17
Posts: 9
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


 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Silver Orange 2.0.6 for IPB Designed by Skins and Hosting
Converted for phpBB3, based on Royal Blue template by BigB © 2007 2008 AEON KINGS