display them to the user using google distance matrix api
But i want to use this in react
Anyone know how to go about it in react?
The same way you go about it in anything else. It's an api
Write the logic to get positions from API, and the logic to calculate distance between positions, then figure out how to plug the results into react
I just too my time to read the documents now It's has to do with pass values to a link Can fatch do the trick?
Thank you😊 I'm trying to see figure out how to pass the api url and get data back
Yes you can use fetch()
I requested denied, cors issue
Обсуждают сегодня