Live Car Tracking

Hi, I need some help with my app. I’m trying to create a code that shows the live location of my car on a map, and every time the car enters a specific area, it plays an audio clip related to that area—similar to how Waze works. I’ve managed to display the current location, but I’m having trouble getting the app to recognize when the location changes and automatically trigger the corresponding audio clips. I would appreciate any guidance you can provide!

Welcome to Thunkable! When you post a question, you need to provide more details so someone here can help you.

Please review How to ask Great Questions v2.0

In this case, we need to either see a screenshot of your blocks or a link to your project (explaining which screen we should focus on).

I’m developing an app where I can display my current location on a map when I press a button. I’ve managed to do this successfully. Now, I want to take it a step further.

I want to create an app where:

  • When I press a button (e.g., “Start Trip”), it shows my live location on a map.
  • As I move, the app checks if I am within a certain distance of a point of interest (stored in my database).
  • If I’m within range of a point of interest, the app should automatically play an audio clip related to that location.

I’m thinking of using a loop that checks the coordinates every 30 seconds, but I’m having trouble implementing this. I’m also not sure how to trigger the automatic audio playback when I’m within a specific distance from a point of interest. I need help with both the loop and the logic for proximity-based audio playback.

I successfully implemented functionality where every 30 seconds, a marker is placed on the map with my updated location.