react-native-maps-directions
react-native-maps-directions copied to clipboard
Automatic line colouring & steps
When using a transit polyline, I added a prop to allow the line to be split and automatically coloured by the transit line type provided by Google.
I also added the journey steps to the onReady return object to facilitate the breakdown of a journey into multiple steps over many transit types.
Thanks for this PR. It's a nice addition.
A few questions though:
- Why did you remove
regionandoptimizeWaypoints? This is a breaking change + has nothing to do with this PR. - Why did you change the
modefrom uppercase to lowercase? The casing is handled by the component itself. It is a breaking change (as the .ts definitions are also lagging now) + has nothing to do with this PR.
Please keep the contents of your PR limited to only the changes that it says it provides.
@bramus Looks like I had some rouge VSCode extension removing unused props! Resolved both issues.
@garydevenay Thanks for the extra pushed commits. It still looks a bit borked though, when you check the "files changed" tab.
Please go over your changes again. Don't be afraid to squash a few commits too, to keep the history clean.
Thanks.
Any updates on this?
this is such a useful feature. any update?
this is such a useful feature. any update?
bump, any updates this would be awesome