Update Google Map Marker

Hello.
I am using Firebase Database to get my Latitude and Longitude and add a marker with that coordinates. But every time the coordinates changes, it does not remove the old marker.

here is the blocks. it is in a Firebase Data Change block.
50%20PM

You have to first remove the marker and the let it appear in the new position.

2 Likes

I have been trying to find a remove marker but i really do not know how to use it. I tried searching in the community but I cannot find anything.

Can you please help me?

Never done this in Kodular yet but i need it myself to so i guess this should work.

image

2 Likes

Thank you! This worked well!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.