Community of VE/MapPoint Users and Developers
This is a discussion on Displaying The Route Planner within the MapPoint 2006/2009 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?...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
|
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
|
| |||
|
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 ) Code: MapPointControl1.PaneState = geoPaneRoutePlanner |
![]() |
| Tags |
| displaying, planner, route |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Displaying two diffrent routes | Anonymous | MapPoint 2006/2009 Discussion | 2 | 02-23-2005 07:38 AM |
| Displaying several points on one map using C# | MD2000 | MapPoint 2006/2009 Discussion | 3 | 02-17-2005 10:14 AM |
| Displaying lat/lon grid? | cd4000 | MapPoint 2006/2009 Discussion | 2 | 11-12-2004 09:18 AM |
| How do I calculate a route distance without displaying route | spideybud | MapPoint 2006/2009 Discussion | 4 | 09-09-2003 11:14 AM |
| Displaying all name lables at once | Anonymous | MapPoint 2006/2009 Discussion | 1 | 03-07-2003 03:13 PM |