Check if user is near a location


Since it has bee asked a lot I want to release a .aia file which checks whether the user is near a specified location. The map moves to the user’s location once and then waits for the user to click on it. If the user clicked the map, a marker and a circle is displayed. Below the map component you can see the calculated distance between the user’s location and the marker and if the user is in the radius of the marker. Adjust the global variable radius to your needs. The project uses my DistanceTools extension.
maps.aia (11,9 KB)

Notify when entering the circle
How can I show only markers of places/users that are located within 200 meter from my current location?

I tested map.aia . I can remove marker and remove circle by button. But i can’t add new maker and new circle. Please explain with me. (Sorry i amateur and write English little)


Sorry, but I don’t understand. Try to explain it better please. I don’t think I have a button in my project


I am add button for remove circle and marker. I need remove circle and marker by button and true method. Please method. Thank you.


You should read the documentation first if you haven’t. The id’s of the marker and the circle are stored in a variable, so you can delete them by calling