• Hi,

    Have you noticed that (my map field is called mapa) lat-mapa and lng-mapa, are updated only when you move cursor on the map. And not after address input and enter.

    Thus I had to use for now [mapa] in mail body to create link.

    Another issue is that [address-{mapa}] doesnt print anything in my mail body.

    Otherwise great plugin ?? thx for your work.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Aurovrata Venet

    (@aurovrata)

    Have you noticed that (my map field is called mapa) lat-mapa and lng-mapa, are updated only when you move cursor on the map

    noted

    Another issue is that [address-{mapa}] doesnt print anything in my mail body

    thanks for the report. I will fix these in a future release.

    Otherwise great plugin ?? thx for your work.

    thanks, do leave a review when you a minute to spare.

    Thread Starter Mastafu Design

    (@mastafu)

    Once it’s fixed, will do with pleasure ??

    Plugin Author Aurovrata Venet

    (@aurovrata)

    A pre-release with a fix is available on the github repo.

    I don’t have the time to run a test right now, so feel free to test it and let me know if it works.

    Thread Starter Mastafu Design

    (@mastafu)

    1. 500 Internal Server Error while sending for ajax call in console. Form doesn’t work with this plugin version.
    2. The Address input field is now geocoding lat-mapa and lng-mapa fields.
    3. The Address field is only updated while pointer dragging on the map, not when confirming address with enter.

    Plugin Author Aurovrata Venet

    (@aurovrata)

    ok, will test on my side and revert

    Hi,

    I’m here for the same issue: I need users to write address and not to update moving the map pin, but then the lat, lng fields are not updated, they keep the default values even printed through error_log file.

    Any news?
    Thanks!

    EDIT: I found a temporary workaroud.
    When using the address field, you can see through inspector that there’s a field JQuery is able to update with correct coordinates:

    <input name="your-map" id="your-map" value="lat_updating_value,lng_updating_value" type="hidden">

    In my project, I’m using those raw data to update coordinates for some shops user can insert by himself, so my PHP is now:

    // $glat = $formdata['lat-your-map'];
    // $glng = $formdata['lng-your-map'];
    // waiting for plugin FIX, lat, lng fields are disabled
    
    $raw_data_map = $formdata['your-map']; // this is the only field being updated at the moment, so I take the string, explode it, and return the two values
    $raw_array    = explode(",", $raw_data_map);
    $glat         = $raw_array[0];
    $glng         = $raw_array[1];

    This way, I’m able to retrieve the right coordinates via the address field only.
    Hope this helps a bit.
    Bests.

    • This reply was modified 4 years, 11 months ago by PatrizioRD.
    • This reply was modified 4 years, 11 months ago by PatrizioRD.
    Plugin Author Aurovrata Venet

    (@aurovrata)

    @mastafu so there was indeed a fatal error in the pre-release code for address fields submission.

    apologies to take so long to test, but when I last checked this I remember having issues to get my GMaps API key to work as these w#*@!rs at Google again changed their policy and I didn’t get time to go through all the BS sign up….so anyhow, I finally got round to getting the key to work again!

    I am releasing the fix as v1.4.3

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Problems with lat / lng and address’ is closed to new replies.