tiaanduplessis / react-native-google-maps-directions

🚕 Get direction using Google Maps in React Native 🚗
MIT License
182 stars 28 forks source link

It does not take dynamic data from api #6

Closed anjali14garg closed 7 years ago

anjali14garg commented 7 years ago

handleGetDirections = () => { const data = { source: { latitude: 19.295296, longitude: -81.382111 }, destination: { latitude:this.props.customer.latitude, longitude: this.props.customer.longitude }, params: [ { key: "dirflg", value: "w" } ] } getDirections(data) } it is showing the error of Possible Unhandled Promise Rejection (id: 0): Error: Invalid arguments provided

tiaanduplessis commented 7 years ago

@anjali14garg please check if the issue still persists with v1.1.2

tiaanduplessis commented 7 years ago

Closing this issue in the meantime. If you still encounter the bug, please feel free to reopen the issue 👍