Your forum topic title should be a very short summary of your question, just a few words.
If you are using a “get value” data source block, then you will not get updated values from your database. See this: Google Sheets data source doesn't update every time - #6 by matt_conroy
You would need to use Firebase or an API. I like Airtable’s filterByFormula API command.
Edit: I hope it’s okay I change it from this:
The discussion is about developing a tracking system app for scooters, encountering issues with retrieving latitude and longitude from the database and showing correct directions on Google Maps.
To this:
Tracking system latitude/longitude from database, Google Maps directions