- Fix:
timePrecision
prop type toMapViewDirectionsTimePrecision
- Add
legs
inonReady
callback; - Add types in
onReady
return; - Compatibility with
react-native-maps
1.0.0
- Add
waypointOrder
inonReady
callback (#139)
- Improve error handling in case a request to the Google Maps Directions API fails (#132)
- Improve error handling when no
apikey
prop is given
- Fix “Cannot set property 'map' of undefined” error (#130 #131 #132)
- Add
channel
andtimePrecision
props to reduce the cost of Google maps (#129, thanks @rohitbansa)
- Add
precision
prop to allow one to choose between the ”Steps Polyline” and “Overview Polyline”
- Fix bug where duration was wrongfully calculated when using waypoints
- Fix bug where not all legs of a route were drawn
- Fall back to standard duration in case “duration with traffic” is not given
- Use “Steps polyline”, instead of “Overview polyline” (regression fix)
- Update dependencies
- Add
optimizeWaypoints
prop to allow use of waypoints optimization. - Add
region
prop. - Return “Duration with traffic” as
duration
- Return
fare
inonReady
- Add
directionsServiceBaseUrl
prop to allow customisation of service to use.
- Add support for
resetOnChange
prop to prevent glitches whenn recalculating (#21) - Add
onStart
callback prop to know when routing starts
- Fix a bug where new origin/destination objects (with same values) trigger an endless loop (#13)
- Add support for waypoints (#10)
- Fix “Unmouting while a fetch is still in progress yields a warning” #5
- Add
language
andmode
props
- Add
onReady
andonError
events/callbacks
- initial release