- Fix:
timePrecisionprop type toMapViewDirectionsTimePrecision - Add
legsinonReadycallback; - Add types in
onReadyreturn; - Compatibility with
react-native-maps1.0.0
- Add
waypointOrderinonReadycallback (#139)
- Improve error handling in case a request to the Google Maps Directions API fails (#132)
- Improve error handling when no
apikeyprop is given
- Fix “Cannot set property 'map' of undefined” error (#130 #131 #132)
- Add
channelandtimePrecisionprops to reduce the cost of Google maps (#129, thanks @rohitbansa)
- Add
precisionprop 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
optimizeWaypointsprop to allow use of waypoints optimization. - Add
regionprop. - Return “Duration with traffic” as
duration - Return
fareinonReady
- Add
directionsServiceBaseUrlprop to allow customisation of service to use.
- Add support for
resetOnChangeprop to prevent glitches whenn recalculating (#21) - Add
onStartcallback 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
languageandmodeprops
- Add
onReadyandonErrorevents/callbacks
- initial release