Home Forums ACF PRO ACF Pro Address Field Replacement Reply To: ACF Pro Address Field Replacement

  • Hi guys

    I’ve just been running some ideas over the google map field on how to allow extra data to be saved with no luck.

    The data that Google provides about a ‘place’ is not consistent and not formatted in a way that can be used very well.

    Please note there is a JS action available called ‘google_map_change’ which sends through the map and map marker objects each time the map is changed.
    Info here:

    This could be used to lookup map marker data and then create extra hidden inputs to save the data quite easily. The issue is I can’t see how to easily obtain place data from google in all scenarios:
    1. Search for an address
    2. Search for lat/lng
    3. Drag drop / click to place marker

    Please try out the JS action and let me know what you find.