Finds a route between start and end points, and fills in the Route object on return.


Namespace: ActualMap
Assembly: ActualMap (in ActualMap.dll)

Syntax

Visual Basic (Declaration)
Public Function FindRoute( _ 
   ByVal start As Point,  _ 
   ByVal end As Point _ 
) As Boolean
C#
public bool FindRoute(
   Point start,
   Point end
)
C++
public:
 bool FindRoute(
   Point start,
   Point end
) sealed 
J#
public bool FindRoute(
   Point start,
   Point end
)
JScript
public  function FindRoute(
   start : Point,
   end : Point
) : bool

Parameters

start
The start point of the route.
end
The end point of the route.

Return Value

The method returns True if the route was found successfully.

Remarks

This method uses the start and end points to find the nearest start and end road segments within the distance defined by the MaxDistance property. The route will be calculated between these start and end road segments per the topology of the road network, and one-way and closed roads.

See Also