Join our new community forum for support & discussion

Join Now

Home Support Extensions Geolocation Does not work arrow current location

Does not work arrow current location

  • Author
  • admuser.blogsbr

    Is my site not working when I click the arrow to search for my current location? The rest is functioning normally.

    There is a configuration that defines the country where geolocation should work. Is there how to do this by state?

    And is the radius related to the search distance? That is, if I’m looking in a specific city, do you show me a result with the distance in km from that research point? It is?

    ihor developer

    Please make sure that the Places API is enabled for the Google Maps API key that you use (you can check this in the Google API Console), two APIs should be enabled: Maps JavaScript API and Places API.

    Radius is checked from the center of the city if you search the city directly (instead of the exact address). You can adjust radius in HivePress/Settings/Listings/Geolocation section.


    They’re activated. What else can it be?

    ihor developer

    If possible send a link to your site and I’ll check if there’s a detailed error from Google.



    Hello -> could you check mine too, please?
    I have the same problem.

    ihor developer

    @admuser.blogsbr This is strange, but there’s an error indicating that Places API is not enabled for your project:

    Geocoding Service: This API project is not authorized to use this API. For more information on authentication and Google Maps JavaScript API services please see:

    Please make sure that it’s enabled (you have to search for Places API on the project page, and click “Enable”).

    Google returns the following error:

    Google Maps JavaScript API error: RefererNotAllowedMapError
    Your site URL to be authorized:

    Please add your site URL to a list of allowed URLs for this API key.


    I found the problem. I’ve severely restricted the api key. Everything is working now. Thanks again for the support.
    I hope the usage value of this api doesn’t exceed the free monthly value provided by google.
    If it’s possible in the future to have a free option. That’ll be a good thing.

Viewing 8 posts - 1 through 8 (of 8 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.