bramus / react-native-maps-directions

Directions Component for `react-native-maps`
MIT License
1.25k stars 198 forks source link

How is this library showing the Steps? #202

Open BrodaNoel opened 2 years ago

BrodaNoel commented 2 years ago

I am considering using this library, but I need to show details about the Steps (routes.legs.steps).

For example, I'm "moving" from Rome, Italy, to Berlin, Germany, and these are the steps:

Screen Shot 2022-07-29 at 01 35 25

So, I have a Train from Rome to Bolzano, then a Train from Bolzano to Munich, and then a train from Munich to Berlin. I need to show that info in the map for the user, and even the links to the agencies where the user can buy the train tickets (check the last line (trenitalia.com) in this screenshot:)

Screen Shot 2022-07-29 at 01 36 39

Is this library showing this info or provides a way to expose to the parent component that info (in a... onFinish event or something like that) in order to render some info about it?

Thanks!

SimonMeissnerACP commented 2 years ago

Would highly appreciate this feature too!