Calculates the route using the current settings of the router object.
[Visual Basic .NET] Public Function Solve ( _ ByVal pIStops As SMStopsCollection, _ ByVal pITracker As ISMBreakTracker _ ) As SMDirections
[C#] public SMDirections Solve ( SMStopsCollection pIStops, ISMBreakTracker pITracker );
[C++] HRESULT Solve( ISMStopsCollection* pIStops, ISMBreakTracker* pITracker, ISMDirections** pIDirections );
pIStops is a parameter of type ISMStopsCollectionpITracker [in]
pITracker is a parameter of type ISMBreakTrackerpIDirections [out, retval]
pIDirections is a parameter of type ISMDirections
Builds the route using all the current settings of the router object.
The method returns the SMDirections object that contains the resulting path and driving directions texts. If no route is found then the method returns Nothing.
You need to pass an implementation of ISMBreakTracker interface as pBreakTracker parameter's value if you want to break route finding process according to some condition. If you don't need such functionality you can pass Nothing as the parameter's value.