Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 5 of 5

Displaying The Route Planner

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

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

  2. #2
    Mohamed is offline Member Green Belt
    Join Date
    Mar 2005
    Posts
    97
    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

  3. #3
    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.

  4. #4
    Mohamed is offline Member Green Belt
    Join Date
    Mar 2005
    Posts
    97
    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]

  5. #5
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Displaying two diffrent routes
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 02-23-2005, 07:38 AM
  2. Displaying several points on one map using C#
    By MD2000 in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 02-17-2005, 10:14 AM
  3. Displaying lat/lon grid?
    By cd4000 in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 11-12-2004, 09:18 AM
  4. How do I calculate a route distance without displaying route
    By spideybud in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 09-09-2003, 11:14 AM
  5. Displaying all name lables at once
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 03-07-2003, 03:13 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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