• Good day, Wanted report an issue. Whenever i add a new place and go to the address bar, input the address and click the “set address on map” button it brings up an error message “The page…….websitename…says: Geocode was not successful for the following reason: ZERO_RESULTS”. Dont know why. Please help. And when i use the “Near” search bar it says no result found, but if i use the “Search for” search it brings out results. Even if the Saerch for and Near fields are related it wont bring up any results when i use both search bars at the same time. Only using the “search for” search bar works. Please help.

    https://www.ads-software.com/plugins/geodirectory/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Paolo

    (@paoltaia)

    ZERO_RESULTS is the error from google map API saying that is unable to determine the address entered.

    Try dragging the marker on the map on the place where you want to add the place to see how google maps api return that address.

    The search for problem is most likely due to the same issue. Google Map Api not recognizing that address.

    Let us know!

    Thread Starter emeka_toby

    (@emeka_toby)

    Back again. Good day, Just wanted to still point out that i love your plugin. Anyway, Was wondering if i could turn off one part of the search widget i.e Since the “Near” search box in the search widget doesn’t work for me because for some reason google hasn’t listed my town(Sucks), so that search box is really not necessary but the “Search for” search box works well enough for me. The places i listed using your plugin are within just one small (unlisted) town, so the “search for” box is all i need. Please how will i turn off the other search box and it would be cool if that option is provided in the next update atleast for people in the same situation as me. ?? Thanks

    PS: Dragging the marker to a place i want to add just shows “unnamed road”. So that really isn’t still a locations name. So the near search box is really just not for me yet… ??

    Plugin Author Paolo

    (@paoltaia)

    I replied in the other thread.

    Thx

    I seem to have this problem too, I think it is google, but if you can check if the plug in is having the issues.

    https://www.google.ca/maps/place/A+Different+Angle+Photography/@52.872688,-118.079123,17z/data=!3m1!4b1!4m2!3m1!1s0x53832b0f2c75ffc5:0xb2427e370fc1fc9c?hl=en

    thx

    Plugin Author Paolo

    (@paoltaia)

    Hi Jasperguy,

    while googlemaps Api returns results for streets nearby like:

    Connaught Drive, Jasper, AB, Canada

    or

    Hazel Ave, Jasper, AB, Canada

    It doesn’t for that particular street.

    What is weird, wherever I drag the marker, the API returns only Jasper National Park.

    I’ll ask to the developers to see if it is a bug on our side or a google maps Api limitation.

    Thanks

    Thank you for taking the time to respond to my request. It is much appreciated and to know the plugin is looked after.

    Plugin Author Stiofan

    (@stiofansisland)

    H Jasperguy,

    I have made a small change which will hopefully rectify this for national parks. You can test it on our demo here: https://wpgeo.directory/

    Or if you have the required knowledge to replace files via FTP then you can replace this file in your core plugin: https://raw.githubusercontent.com/GeoDirectory/geodirectory/master/geodirectory-functions/map-functions/map_on_add_listing_page.php

    Thanks,

    Stiofan

    Plugin Author Paolo

    (@paoltaia)

    3rd option would be to wait until we release next version where this fix has been added.

    Let us know how you went!

    Thanks,

    Thanks Stiofan and paolo,

    The code replacing is a little beyond my skills, as it is not just the the plugin itself, the theme I purchase had integrated the script, so I don’t know where to start to alter that.

    I’ll wait for a next release and see if I can just install the plugin and test out. I’m just going to embed the map in the mean time.

    Plugin Author Paolo

    (@paoltaia)

    It shouldn’t take much longer before we release next batch of updtes.

    Thanks!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Error when Location is set on Map’ is closed to new replies.