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

How to build a route

This is a discussion on How to build a route within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi!!!! I have an array of location objects, and I want to do something like a route with those locations(those ...

  1. #1
    clavijo is offline Junior Member White Belt
    Join Date
    May 2004
    Posts
    9

    How to build a route

    Hi!!!!

    I have an array of location objects, and I want to do something like a route with those locations(those locations must be exacts). I achieved to do it with a polyline, but I donīt know if itīs possible do it using an object route adding waypoints. If it were possible, could you tell me how to draw this route.

    Thanks to all.

  2. #2
    Winwaed's Avatar
    Winwaed is offline Mapping-Tools.com Black Belt
    Join Date
    Feb 2004
    Location
    Irving,Texas
    Posts
    1,859
    Blog Entries
    60
    You can create a route using your locations as waypoints.

    The Route object and waypoint container are described in the documentation that comes with MapPoint. Look under the object model reference in the programming help. There are also some other pages in the help that show you how to use the different parts.

    The concept is very similar to a polyline. Once you add the waypoints, you then call a method in the route to "find the best route". There are also options to set road speeds, etc.

    Richard
    Winwaed Software Technology LLC
    http://www.winwaed.com
    See http://www.mapping-tools.com for MapPoint Tools

  3. #3
    clavijo is offline Junior Member White Belt
    Join Date
    May 2004
    Posts
    9
    Thanks Richard for your response.

    Please, could you be a little more specific?. I was looking for in the Mappoint object models, and the only method that I have seen to draw the route is objroute.calculate, but it draw only the best route between the start and final points and not consider the intermediate waypoints that I have to respect.

    Thanks.

  4. #4
    Winwaed's Avatar
    Winwaed is offline Mapping-Tools.com Black Belt
    Join Date
    Feb 2004
    Location
    Irving,Texas
    Posts
    1,859
    Blog Entries
    60
    I have the 2004 Help up infront of me.

    Go to "Programming Information".
    Select "Working with the MapPoint Object Model"
    Select "About routing in the MapPoint object model"

    This page has three expandable sections entitled:
    "Modifying the waypoints in a route" (what you want)
    "Modifying the route in other ways"
    "Getting driving directions"


    Richard
    Winwaed Software Technology LLC
    http://www.winwaed.com
    See http://www.mapping-tools.com for MapPoint Tools

  5. #5
    clavijo is offline Junior Member White Belt
    Join Date
    May 2004
    Posts
    9
    Quote Originally Posted by winwaed
    I have the 2004 Help up infront of me.

    Go to "Programming Information".
    Select "Working with the MapPoint Object Model"
    Select "About routing in the MapPoint object model"

    This page has three expandable sections entitled:
    "Modifying the waypoints in a route" (what you want)
    "Modifying the route in other ways"
    "Getting driving directions"


    Richard
    Thanks you very much for your response. It has been very useful to me.

  6. #6
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    I imported pinpoints using datasets
    Now I want to out the pushpins in a route

    Can anyone please tell me how to do that

  7. #7
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    5,094
    Blog Entries
    4
    Use the Add method. The Pushpins will be your Anchors. With this terminology in mind, see the help file.

    Eric
    ~ Order MapPoint MapPoint 2013 Here and Get Free Access to the MapForums Downloads ~
    ~~
    ~ Upgrade to Get Access to the MapForums Downloads ~

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. can anyone help me build gps for 911 coverage in africa
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 05-24-2004, 12:41 PM
  2. Anyone who build a Print-Dialog for Mappoint-Control?
    By Syd in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 12-18-2003, 08:22 AM
  3. I am trying to build an application using mappoint....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 11-12-2001, 11:19 AM
  4. i am using mappoint 2002 objects to build a com. i....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 09-20-2001, 07:22 AM
  5. I am trying to build an activeX control using Map....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 08-24-2001, 06:05 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 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 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96