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:
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:)
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?
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:
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:)
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!