I'm working on a project in FlutterFlow where I need to show the route between a user's location and a delivery person's location. Both the user's and delivery person's locations are available (latitude and longitude).
I want to:
Display the route on a map (Google Maps widget).
Dynamically fetch and show the directions using the Google Directions API.
Update the route in real-time if either the user or the delivery person's location changes.
Could someone guide me on:
Setting up Google Maps and the Directions API in FlutterFlow?
Fetching and displaying the route between two points?
Handling real-time updates for the route?
Any code examples, step-by-step instructions, or best practices would be greatly appreciated!