react-native-maps-directions
react-native-maps-directions copied to clipboard
Allows user to set AvoidTolls
MapViewDirections
- Adds avoidTolls to the componentWillUpdate watch
- Passes avoidTolls to fetchRoute, if set to true it will update the URL to contain '&avoid=tolls'
- Declares prop under propTypes as bool
Index.d.ts
- adds the avoidTolls to declaration with an explanation as to what it does
same changes as last time i made a pr but on a new repo where my formatter didnt make a bunch of changes
There’s a typo in the typings file: it reads avoitTolls instead of avoidTolls
Updated typo