How can I get the Unknown Location of a Direction 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