I can not seem to find a way to display the Route Planner programmatically.
Is this not possible?
This is a discussion on Displaying The Route Planner within the MapPoint Desktop Discussion forums, part of the Map Forums category; I can not seem to find a way to display the Route Planner programmatically. Is this not possible?...
I can not seem to find a way to display the Route Planner programmatically.
Is this not possible?
Hi,
To display the Route Planner, use
MappointControl.ItineraryVisible = True
or MappointControl.ItineraryVisible = False to hide it.
You have an example in Help File:
Code:Sub HideItinerary() Dim objApp As New MapPoint.Application Dim objMap As MapPoint.Map Dim objRoute As MapPoint.Route 'Configure l'application Set objMap = objApp.ActiveMap Set objRoute = objMap.ActiveRoute objApp.Visible = True objApp.UserControl = True 'Ajoute deux étapes et calcule un itinéraire objRoute.Waypoints.Add objMap.FindResults("Seattle, WA").Item(1) objRoute.Waypoints.Add objMap.FindResults("Redmond, WA").Item(1) objRoute.Calculate 'Masque maintenant l'itinéraire qui était apparu automatiquement ci-dessus objApp.ItineraryVisible = False End Sub [/ code] Hope it's an answer to your question
Mohamed
www.AtlasCouscous.com
Thanks for the response but that is not what I am after. That shows the directions. I want the Route Planner. This is a Window shown off to the left that lists all the waypoints. You can set the time, manual rearrage, etc...
I think you press CTRL-R in normal mode.
Hi,
Ok. Sorry, I made a confusion between Route and Itinerary.
To tell you the truth, I visit this forum to learn more english !!!![]()
Never mind, the answer to your question is :
( Look at the Panstate property in the help file )
Bye[/code]Code:MapPointControl1.PaneState = geoPaneRoutePlanner
Mohamed
www.AtlasCouscous.com
That's the ticket! Thanks, I knew there had to be a way.
There are currently 1 users browsing this thread. (0 members and 1 guests)