I’m looking to fill in the Google Map on the backend (wp-admin) with an address and have it generate the lat, lng and pin on the map based on the address.
The reason is, we need to keep the address field separated from the Google Map so that the user can manipulate the Google Map to pin a more accurate location. But, when an address is entered, I’d like the Google Map to default to where that address is.
So far, I have successfully filled the Google Map search value with the value from the address field, however, I can’t get the search to submit and show the address pinned on the map. Here is what I’ve tried: