MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Displaying The Route Planner

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?...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-08-2005
EdB EdB is offline
Member
Green Belt
 
Join Date: Aug 2002
Posts: 56
Displaying The Route Planner

I can not seem to find a way to display the Route Planner programmatically.

Is this not possible?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 08-08-2005
Member
Green Belt
 
Join Date: Mar 2005
Posts: 96
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 08-08-2005
EdB EdB is offline
Member
Green Belt
 
Join Date: Aug 2002
Posts: 56
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 08-09-2005
Member
Green Belt
 
Join Date: Mar 2005
Posts: 96
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
Bye[/code]
__________________
Mohamed
www.AtlasCouscous.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 08-09-2005
EdB EdB is offline
Member
Green Belt
 
Join Date: Aug 2002
Posts: 56
That's the ticket! Thanks, I knew there had to be a way.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
displaying, planner, route


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -5. The time now is 12:33 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55