Thanks for your help. I'm not sure if I have the skills to decode unnamed natives...
My final goal is to show on the screen the direction to the next point (closest point) of the route. For example, you select a waypoint in the map and a route is generated, then the idea is to get the indications as text (left, right, front and back) guiding you through the generated route. Kind of a compass or a very basic navigator...
My plan to do this was to get the coordinates of the first point of the route and then calculate the direction based on the location of the payer and camera position/rotation. Right now I can calculate the directions towards any given point, but now I'm missing how to obtain the coordinates of the route. Maybe there is another way to get that information using only the already named functions?
Also, I'm a bit confused about some concepts, for example, what is a 'custom route' or a 'waypoint recording'? Or how can I get the handle to the generated route? Maybe this can be interesting for the task.