Community of VE/MapPoint Users and Developers
This is a discussion on Route Direction Location Instruction within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; How can I get the Unknown Location of a Direction Instruction: Sample vb code: With Route.Directions.Item(x) .Location => returns route ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Route Direction Location Instruction Sample vb code: With Route.Directions.Item(x) .Location => returns route segment midpoint of an imaginary straight line between segment start and end point, not the segment starting location. .Instruction => returns the segment starting point instruction at the Unknown Location. End With I thought about creating a circle with: center = Route.Directions.Item(x).Location and radius = segment distance / 2 but the segment distance is the total road distance and thus can not be used. Even if it could be used, as far as I know, no method exists to intersect a shape (circle) with the Route returning a collection of Locations. Thanks in advance for any help. DavidW |
| |||
|
Hi, I dont understeand the question. Please refrase in simple English..
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
| Route Direction Location Instruction
Thanks for your speedy response. I am looking for: the exact Location of each Driving Instruction in a Route. The Route.Directions.Item(x).Location does not give me the Location of the Instruction, but gives me the midpoint Location between the start and end point of Route segment x. Hope this question is better phrased than my previous posting. Thanks DavidW |
| ||||
|
It doesn't even do that. Usually it is pretty close to the mid-point between start and end, but it is actually the location required to get a "good view" of the route segment. The location is the centre of such a view and also has the altitude (zoom) property set accordingly. MapPoint doesn't openly expose locations that are exactly along a route. 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 |
![]() |
| Tags |
| direction, instruction, location, route |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Extracting street names from route Instruction | Curt | MapPoint 2006/2009 Discussion | 1 | 08-18-2005 02:56 PM |
| Map Route with other location | Anonymous | MapPoint Web Service and Virtual Earth | 1 | 03-29-2005 09:18 AM |
| Map Route with other location | Anonymous | MapPoint 2006/2009 Discussion | 0 | 02-14-2005 09:19 PM |
| Fix Direction Location | Bob Chase | Wish List | 0 | 03-21-2003 06:31 AM |
| Direction.location all wrong when more then 2 waypoints.? | johnny | MapPoint 2006/2009 Discussion | 0 | 01-20-2003 11:36 AM |