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 3 of 3

What properties should be set for quickest or shortest route

This is a discussion on What properties should be set for quickest or shortest route within the MapPoint Desktop Discussion forums, part of the Map Forums category; What properties should be set for calculating the quickest route and the shortest route programmatically? Thanks for any suggestions....

  1. #1
    dzhong is offline Member Yellow Belt
    Join Date
    Aug 2002
    Posts
    45

    What properties should be set for quickest or shortest route

    What properties should be set for calculating the quickest route and the shortest route programmatically?

    Thanks for any suggestions.

  2. #2
    Rainer is offline Junior Member White Belt
    Join Date
    Jan 2003
    Posts
    9
    Hi,

    take a look at the segment preferences of the waypoint - object.

    objRoute.Waypoints.Item(theNumberOfYourWaypoint).S egmentPreferences = geoSegmentQuickest
    'or:
    objRoute.Waypoints.Item(theNumberOfYourWaypoint).S egmentPreferences = geoSegmentShortest

    remember: you have to do it for every waypoint in your route before you
    call the calculate - method.

    Greetings from germany
    Rainer

  3. #3
    dzhong is offline Member Yellow Belt
    Join Date
    Aug 2002
    Posts
    45
    Rainer,

    thank you very much. I figured out and you are correct.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Defaulting the setting to shortest instead of quickest
    By nlgonsal in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 09-29-2005, 06:18 PM
  2. showing pushpin properties
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 08-18-2003, 11:52 AM
  3. Pushpin properties...?
    By douglas in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 06-03-2003, 05:59 PM
  4. Route optimize: shortest vs quickest
    By David Kachuck in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 12-16-2002, 08:23 PM
  5. Pushpins properties
    By gag in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 11-20-2002, 06:22 AM

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 28 29 30 31 32 33 34 35 36