Google Distance Matrix API
Hello, has anyone have experience with implementing the Google Distance Matrix API into a Filament form?
I need to find a solution to calculate a distance between two addresses and I need to know the distance to every country border on the route.
Does anyone can help me with some coding solutions?
3 Replies
So you want to make an API call and populate form fields using the response?
I'm currently reading the Google Distance Matrix API docs before I can offer a suggestion.
I want to make a API call to retrieve data with the input of users... We got Location A and Location B, we need to know the total distance., the distance between borders and total traveling time. Maybe in a later stadium it would be nice to combine the route with repeater fields.. But thats a whole lot.