Community of VE/MapPoint Users and Developers
This is a discussion on retrieving directions in a route with stops within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I'm developmenting an aplication with the european version and vb. I try to export directions from a route and always ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| retrieving directions in a route with stops I try to export directions from a route and always go fine when there isn't stops. If there's some stop the directions only are fine until the first stop here is the code: Dim dt As MapPointCtl.Direction For Each dt In FrmMain.MappointControl1.ActiveMap.ActiveRoute.Dir ections FrmMain.MappointControl1.ActiveMap.AddPushpin(dt.L ocation, dt.StartTime).BalloonState = geoDisplayBalloon next Thanks to all |
| |||
| Re: retrieving directions in a route with stops
Couso, did you ever find the answer to this? Did you ever make your program? I'm trying to see if there is an add-in out there, so that I can export a route and then import the data into a Sat Nav system. |
| ||||
| Re: retrieving directions in a route with stops
The directions are listed per waypoint. So, to get all the directions, you need to: Loop over all waypoints Loop over all directions for this waypoint 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 |
| |||
| Re: retrieving directions in a route with stops
Hi you can use somethign like: foreach (Direction direction in route.Directions) to get all enumerations. Save them to a DataTable and save it to a CSV file for import in another application. I have something like that in my MapPoint coding demo.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
| Tags |
| directions, retrieving, route, stops |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Route Optimizing with 2 identical stops | cwrude | MapPoint 2006/2009 Discussion | 0 | 01-19-2005 02:28 PM |
| How do you loop through the stops on a route? | petemarkham | MapPoint 2006/2009 Discussion | 1 | 11-11-2003 12:06 PM |
| Connect Route Stops? | swberman | MapPoint 2006/2009 Discussion | 1 | 01-11-2003 10:29 PM |
| I have been using MapPoint to sequence route stops.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 02-04-2002 11:31 AM |
| We created a route of 700+ stops and optimized it..... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 09-07-2001 06:27 PM |