Home › Forums › Backend Issues (wp-admin) › Programmatically update google map field in admin › Reply To: Programmatically update google map field in admin
Hi, thanks for your answer.
I tried it, nothing happen. I also tried .submit() on the input, but it submits the whole post. And I tried to trigger a click on the link “find-location”, but not working.
The address is filled with GPS coordinates, when I pressed enter myself it does work (it’s changing the location).
Screenshots:
After programmatically adding the gps coordinates:
After I pressed ‘enter’ (myself, not programmatically) :
Would be a way to do it through acf.add_filter(‘google_map_args’) ?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.