Calculate route

Anonymous
03-15-2005, 02:24 PM
What should I do if I want to calculate the route without returning the lines of directions above the map? I want the map to optimize the route and highlight it.

Wilfried
03-16-2005, 08:39 AM
Hi,

I dont think this is possible. However a workaround can be to close the window after the route calculation. To close it you can post a WM_CLOSE to it, but you have to get the name and class of the form in question (at least one of the 2).

To find it there are tools for. Try a google to spy++. I never used it. Also there was recent a thread here (and there is an ariticle too). Do a search here on 'Hidden' or so.

John Meyer
03-16-2005, 08:43 AM
try this


Your code here....
objRoute.Calculate
MappointControl1.ItineraryVisible = False

Wilfried
03-16-2005, 12:33 PM
Hi John,

This works as a glance. Can you tell me what this strange word means? Also nothing find in the help :(

John Meyer
03-16-2005, 12:42 PM
I guess you mean "Itinerary" ?

A proposed route / schedule of a journey

Let me see your Itinerary......

 
Web mp2kmag.com
mapforums.com