• Resolved irpe

    (@irpe)


    Hey there!

    I have noticed that WPJM is not creating geolocation_city field from some addresses. I have disabled all plugins except WPJM and used theme twenty sixteen.

    Here is the list of addresses I have tried and the field was not created. These places are located in Finland so this could be a issue just with the finnish addresses.

    koulukatu 2, imatra
    oppipojanpolku, imatra
    sarvikuja 2, imatra
    Vuonankuja 2, 55100 Imatra, Finland
    Kuusitie 41, 76120 Pieksämäki, Etelä-Savo, FI

    This is a working address isonniitynkatu 1, helsinki and geolocation_city field is created.

    Thank you in advance!

Viewing 1 replies (of 1 total)
  • Thread Starter irpe

    (@irpe)

    After diving into code I was able to figure this out. I must say it would be nice to have good support which could help out and give a hint where is the problem..

    For those who face this same problem. WPJM uses address components to show “geolocation_city” field if this address component exist. These components are not same in every country and this was the reason why some addresses were not creating “geolocation_city” field.
    This can be found in “class-wp-job-manager-geocode.php” file.

    Address components explained
    https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete-addressform

    • This reply was modified 8 years, 12 months ago by irpe.
Viewing 1 replies (of 1 total)

The topic ‘geolocation_city field is not created from address’ is closed to new replies.