bramus / react-native-maps-directions

Directions Component for `react-native-maps`
MIT License
1.24k stars 196 forks source link

Any way to get bounds in the data returning from onReady method of MapViewDirections #218

Open naughdy opened 1 year ago

naughdy commented 1 year ago

I want the bounds to be passed for navigation. I checked the code of this repo, you have returned limited parameters (i.e., distance, duration, coordinates, fare, legs, waypointOrder) coming from the routes, why don't you return everything and then the developers can use whatever they want.

bramus commented 1 year ago

I’m open to a PR that provides this functionality.