Google maps, moving marker without deleting / adding

Hi,

I have been trying to create a simple location tracking app, which places a marker on the screen and then move it when the location changes, but the only way I can seem to do this is to delete the marker first then plot a new one, which make the marker continually look like it’s blinking.

Is there a better way to do this?

Here is a code snippet I have been trying.

Any ideas would be great.

Thank you,

Hello @thorntonp72l3
To show the user’s location on the map it is easier to activate the “User location” property and remove all the blocks:

1 Like