Community of VE/MapPoint Users and Developers
This is a discussion on How to build a route within the MapPoint 2006/2009 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 ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| How to build a route 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. |
| ||||
|
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 Pre-Order MapPoint 2009 today: http://www.mapping-tools.com/mappoint2009 |
| |||
|
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. |
| ||||
|
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 Pre-Order MapPoint 2009 today: http://www.mapping-tools.com/mappoint2009 |
| |||
| Quote:
|
![]() |
| Tags |
| build, route |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| can anyone help me build gps for 911 coverage in africa | Anonymous | MapPoint 2006/2009 Discussion | 4 | 05-24-2004 12:41 PM |
| Anyone who build a Print-Dialog for Mappoint-Control? | Syd | MapPoint 2006/2009 Discussion | 1 | 12-18-2003 08:22 AM |
| I am trying to build an application using mappoint.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 11-12-2001 11:19 AM |
| i am using mappoint 2002 objects to build a com. i.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 09-20-2001 07:22 AM |
| I am trying to build an activeX control using Map.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 08-24-2001 06:05 PM |