Support

Account

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:Google map field before I pressed Enter

    After I pressed ‘enter’ (myself, not programmatically) :Google map field after I pressed Enter

    Would be a way to do it through acf.add_filter(‘google_map_args’) ?