Join our new community forum for support & discussion

Join Now

Home Support Extensions Geolocation How to assign Region to Listing

How to assign Region to Listing

  • Author
    Posts
  • Bogdan

    Hi, I have checked Generate regions from locations. I have created new Region Czech Republic. But I don’t know how to assign existing Listings to this new Region. http://www.golf4camper.eu

    yevhen developer

    Please try to change location for listing and it will be assign to some region (or create a new one if it does not exist)

    Bogdan

    I did. Nothing happened. None Region created, none assigned… The same if I created a new Listing

    ihor developer

    If you use Google then the API key with HTTP restrictions will not work for back-end requests (those generating regions). We plan to add a separate field for the “secret” back-end field, meanwhile please try removing HTTP restrictions from the existing key and set the API quotas instead for security (in the Google API console).

    Bogdan

    HTTP restrictions switched off. Still nothing

    Bogdan

    I had restricted Geocoding API. After enabling Geocoding API it started to work. Thx

    ihor developer

    Please also consider restricting other 2 API quotas (Maps and Places) since the public key is visible in the website HTML (until we add a separate option for a private key).

    Bogdan

    You mean Maps JavaScript API or any other Maps API?

    BTW – my …/listing-region/… pages always show NOTHING FOUND 🙁
    Regions are created automatically during updating/creating new location. But the page is empty – on all levels

    ihor developer

    Yes, all 3 APIs enabled for the API key (Places, Maps JS API, Geocoding). Please try refreshing permalinks after you enable regions.

    Bogdan

    After refreshing everything OK, thx

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

New Reply

This forum has been archived and is no longer accepting new posts or replies. Please join our new community forum for support & discussion.