GeoLocation GPS

Hi every one, I have a doubt, I am developing an application, in which I draw a route in a certain sector through kml files, but I can’t get the location marker to move as the device moves, from google console use google maps javascript.

I would greatly appreciate your help.

Hello @jireascos1!
Let me share an idea with you…
To move the marker you must update its coordinates. For example, if you are using “current position” to know the user’s position, use these coordinates for the marker as well. So, as the user moves the marker also moves on the screen. In summary, use the coordinates obtained from the user to update the marker.
You have to create a function to do that.