|
An attempt to fix MapPoint Highway rerouting
Hey Guys
I have been trying for a while to get mappoint to route from a location on a highway and as every one knows it just draws a line to the nearest road and then the route is way off.
Here is what I came up with.
In the RouteAfterCalculate event I check the Directions Instructions for all the directions if the First One Contains Local Road(s) then I am assuming I am on a freeway ( I know Assumtion is the key to all F**k ups) But any way.
after that I iterate all the directions untill I find one that says take ramp
which would mean that puts me back on the freeway.. I use the locaiton object of that direction as my starting point. and calculate the route but that does not seem to work.
any body have any ideas..
__________________
LilliPut Housing Complete
MAP POINT WITH EARTH MATE
TV/FM/XM
1.7 GHZ 500MB RAM , 60 GB HD
SLIM LINE DVD DRIVE
FRONT END: CUSTOM A.N.D.I. - M.P
|