Forum: F.A.Q

This forum is closed for new topics. However, you can still search for a solution in the old topics. For technical support and general questions related to GEO my WP plugin and its core add-ons please use the support forum.

Using 'gmw_pt_update_location' To GeoCode Custom Fields

Forums F.A.Q Using 'gmw_pt_update_location' To GeoCode Custom Fields

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #33105
    mav3000
    Member

    Hi, I’m using a custom function to GeoCode into GMP the address fields in a front-end form when it is saved.

    I am using the function ‘gmw_pt_update_location’ but each time I try it I get a Lat and Long of 0.0000… instead of the correct coordinates.

    I am trying to GeoCode UK addresses and have mapped my custom fields into GMW fields as follows:

    Is there anything in the code about that suggests I’m doing something wrong? Ideally I’d like the form to GeoCode just the street and postcode, as other address fields will be optional.

    Any help appreciated.

    #33107

    Which form are you using for the from-end posting? IS it a plugin or a custom form?

    Do you use a hook to fire our custom function above?

    #33106
    mav3000
    Member

    Hi Eyal, Thanks for getting back to me. I am using a CRED Form (WP Types Plugin) and a hook from submitting the form.

    The code for this I found on another post on this forum and on the WP Types Support Forum, but for me, each time I submit the CRED Form, the address does not GeoCode.

    https://tempform.wpengine.com/support/forums/topic/wp-address-into-gmw-full-address/#post-12998

    I have another post on this forum stating that the ‘Get Lat/Long’ functions also don’t work on my WP Dashboard – which I do not know if this is related or not.

    https://tempform.wpengine.com/support/forums/topic/locate-me-get-lat-long-get-address-address-fields-not-saving-help/

    This is all on my localhost web server.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.