I am pulling marker(relic) data from firebase database then adding them to map. Also i am adding them to another hashmap for doing distance calculations with current user location.Then i calculate closest marker to user and display how far player is to that selected closest marker.When user is closer than 10 meters to marker he can remove that marker from the map.
The problem is i can remove marker from map but whenever i call db removal code somehow db listener triggers and adds Nonexistent removed marker to the map.
By the way remove db code is working.Its removing data from database succesfully.
Here there is a video of unexpected behaviour:
https://streamable.com/m7e90