How can I pass a marker latitud and longitud to a form field

I have a map, and I want to update a hidden form field with the marker's latitude and longitude when the pointer moves. Later, these values will be saved using Server Connect.

I found the "On Marker Change" event in Google Maps Dynamic Events, but in the data picker, I can't find the marker's position. The available latitude and longitude values seem to correspond to the map itself rather than the marker's position.

Any help??

Captura de Pantalla 2025-02-11 a la(s) 12.54.27

Please check

1 Like

Found this and code manually but now I replace with your solution.