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
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
If someone knows how to do this, I'd love to see it. Apparently this is what MS has done with S&T...if you look closely when you are on the highway and create a route it creates a triangle between your location, the closest local road, and the first on ramp on your route.
You Know I found a snap to road Function On one of the mappoint web sites however it is in Delphi, and I dont understand it.. If i can find a C# or VB version, that may be a good starting point..
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
Bookmarks