When calling the TMSFNCGoogleMaps.AddDirections method it execute the request asynchronously and trigger the OnRetrievedDirectionsData when google return a result.
We call AddDirections multiple times in a loop for multiple routes to be displayed, however I need to have access to the directions data directly after each AddDirections is executed.
Is it possible to have the TMSFNCGoogleMaps.AddDirections to execute synchronously (blocking) until the call is complete to access the directions data directly after the AddDirections call has been made?
If the above is not possible, is it possible to “Tag” an AddDirections request as to identify the matching OnRetrievedDirectionsData event execution when it does return the result?
Thank you for your time