View Single Post

  #1 (permalink)  
Old 02-07-2006
z_darius z_darius is offline
Junior Member
White Belt
 
Join Date: Feb 2006
Posts: 4
Drawing route as I go.

Hi,

I’m a total nub with MapPoint, started working with it a coupleof days ago. I am trying to develop an application that will allow recording in (near) real time the route a vehicle has taken - as opposed to planning a route. It is not known in advance where the vehicle will go and which roads it will take. I need to know where the vehicle has been and which roads were used to get there.

I am working with Delphi and MP 2004 and for now all I have working is the basic map display, dynamic update of the vehicle position and a trick or two with pushpins, plus some minor stuff here and there.

I tried plotting the route the vehicle has traveled using AddLine every few seconds but soon I realized this is taking a lot of resources and causes a lot of flicker after a number of line objects have been added.

Is it possible to draw pixel level lines/dots on a map to track the route the vehicle has traveled so far? Any other resource conscious ideas?

Thanks.
Reply With Quote