# Location radius as an attribute

**URL:** <https://community.hivepress.io/t/location-radius-as-an-attribute/12332>\
**Category:** Geolocation\
**Tags:** geolocation\
**Created:** [September 24, 2024, 1:11am UTC](https://community.hivepress.io/t/location-radius-as-an-attribute/12332 "2024-09-24T01:11:57Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![yavlenin](https://community.hivepress.io/letter_avatar_proxy/v4/letter/y/d6d6ee/32.png) [@yavlenin](https://community.hivepress.io/u/yavlenin)\
**Post date:** [September 24, 2024, 1:11am UTC](https://community.hivepress.io/t/location-radius-as-an-attribute/12332/1 "2024-09-24T01:11:57Z")

</div>

Guys, how can I set radius in km or area as an attribute so that users can select the task performer by geolocation?

---

<div class="post-metadata">

**Author:** ![andrii](https://community.hivepress.io/user_avatar/community.hivepress.io/andrii/32/2951_2.png) [@andrii](https://community.hivepress.io/u/andrii)\
**Post date:** [September 24, 2024, 9:55am UTC](https://community.hivepress.io/t/location-radius-as-an-attribute/12332/3 "2024-09-24T09:55:33Z")

</div>

Hi,

Please navigate to HivePress \> Settings \> Geolocation and enable the Allow users to change radius feature. Then, in the sidebar of the filter, the radius attribute will be displayed, where the user can specify a value.

​I hope this is helpful to you.

---

<div class="post-metadata">

**Author:** ![yavlenin](https://community.hivepress.io/letter_avatar_proxy/v4/letter/y/d6d6ee/32.png) [@yavlenin](https://community.hivepress.io/u/yavlenin)\
**Post date:** [September 24, 2024, 10:26pm UTC](https://community.hivepress.io/t/location-radius-as-an-attribute/12332/4 "2024-09-24T22:26:33Z")

</div>

Ok, but how can I settle location or better district and radius as an atrribe?  
there is no such option

---

<div class="post-metadata">

**Author:** ![andrii](https://community.hivepress.io/user_avatar/community.hivepress.io/andrii/32/2951_2.png) [@andrii](https://community.hivepress.io/u/andrii)\
**Post date:** [September 25, 2024, 9:14am UTC](https://community.hivepress.io/t/location-radius-as-an-attribute/12332/6 "2024-09-25T09:14:48Z")

</div>

Hi,

You can only specify the location, other options would require custom implementation.

---

<div class="post-metadata">

**Author:** ![yavlenin](https://community.hivepress.io/letter_avatar_proxy/v4/letter/y/d6d6ee/32.png) [@yavlenin](https://community.hivepress.io/u/yavlenin)\
**Post date:** [September 27, 2024, 5:26pm UTC](https://community.hivepress.io/t/location-radius-as-an-attribute/12332/7 "2024-09-27T17:26:22Z")

</div>

Ok, how can I set up location as an attribute?

I do not have it in a list of attrubutes,but I have installed GEO plugin  
What is the field type?

 ![chrome_2024-09-27_14-26-14](https://community.hivepress.io/uploads/default/original/2X/f/ffea5f29d72719db7d4f85cfdadd7f9dbee749b1.png)

---

<div class="post-metadata">

**Author:** ![andrii](https://community.hivepress.io/user_avatar/community.hivepress.io/andrii/32/2951_2.png) [@andrii](https://community.hivepress.io/u/andrii)\
**Post date:** [September 30, 2024, 8:25am UTC](https://community.hivepress.io/t/location-radius-as-an-attribute/12332/9 "2024-09-30T08:25:45Z")

</div>

Hi,

Please note that you cannot create a custom location attribute through the WP Dashboard, this attribute is automatically added after you install and activate the Geolocation extension.

---

<div class="post-metadata">

**Author:** ![yavlenin](https://community.hivepress.io/letter_avatar_proxy/v4/letter/y/d6d6ee/32.png) [@yavlenin](https://community.hivepress.io/u/yavlenin)\
**Post date:** [October 1, 2024, 4:00am UTC](https://community.hivepress.io/t/location-radius-as-an-attribute/12332/10 "2024-10-01T04:00:13Z")

</div>

Oh, I see, it’s fine, like user adds his location during registration process, right?

I have an issue with it also oops

It do not let me add adress:

![browser_2024-10-01_00-59-25](https://community.hivepress.io/uploads/default/original/2X/c/cac077fabc21b629bb3cb1bb2f33b98dc9a94fa3.gif)

---

<div class="post-metadata">

**Author:** ![andrii](https://community.hivepress.io/user_avatar/community.hivepress.io/andrii/32/2951_2.png) [@andrii](https://community.hivepress.io/u/andrii)\
**Post date:** [October 1, 2024, 9:24am UTC](https://community.hivepress.io/t/location-radius-as-an-attribute/12332/12 "2024-10-01T09:24:59Z")

</div>

Hi,

Please make sure you set up Gelolocation using this doc: [How to set up Geolocation - HivePress Help Center](https://help.hivepress.io/article/120-how-to-set-up-geolocation)

---

<div class="post-metadata">

**Author:** ![yavlenin](https://community.hivepress.io/letter_avatar_proxy/v4/letter/y/d6d6ee/32.png) [@yavlenin](https://community.hivepress.io/u/yavlenin)\
**Post date:** [October 1, 2024, 11:10pm UTC](https://community.hivepress.io/t/location-radius-as-an-attribute/12332/13 "2024-10-01T23:10:36Z")

</div>

Yep, Andrii, looks like everything were done right - I did it using tutorial.  
What can I check?

---

<div class="post-metadata">

**Author:** ![andrii](https://community.hivepress.io/user_avatar/community.hivepress.io/andrii/32/2951_2.png) [@andrii](https://community.hivepress.io/u/andrii)\
**Post date:** [October 2, 2024, 8:28am UTC](https://community.hivepress.io/t/location-radius-as-an-attribute/12332/15 "2024-10-02T08:28:14Z")

</div>

Hi,

If you can’t set up Google Maps, try setting up Mapbox, as it’s easier to set up: [How to get a Mapbox API key - HivePress Help Center](https://help.hivepress.io/article/115-how-to-get-a-mapbox-api-key)

---

<div class="post-metadata">

**Author:** ![yavlenin](https://community.hivepress.io/letter_avatar_proxy/v4/letter/y/d6d6ee/32.png) [@yavlenin](https://community.hivepress.io/u/yavlenin)\
**Post date:** [October 2, 2024, 10:45pm UTC](https://community.hivepress.io/t/location-radius-as-an-attribute/12332/16 "2024-10-02T22:45:29Z")

</div>

The Google maps works fine at searchong box, so it’s setted up right, but it gives this problem during the registration and filling up the user’s profile - so what could be the problem?

---

<div class="post-metadata">

**Author:** ![andrii](https://community.hivepress.io/user_avatar/community.hivepress.io/andrii/32/2951_2.png) [@andrii](https://community.hivepress.io/u/andrii)\
**Post date:** [October 3, 2024, 8:33am UTC](https://community.hivepress.io/t/location-radius-as-an-attribute/12332/18 "2024-10-03T08:33:28Z")

</div>

Hi,

Please note that this issue can only be caused by third-party plugins, customizations, cache, or incorrect Google Maps settings. Therefore, I recommend that you check all these settings.

---

<div class="post-metadata">

**Author:** ![yavlenin](https://community.hivepress.io/letter_avatar_proxy/v4/letter/y/d6d6ee/32.png) [@yavlenin](https://community.hivepress.io/u/yavlenin)\
**Post date:** [October 7, 2024, 12:36am UTC](https://community.hivepress.io/t/location-radius-as-an-attribute/12332/19 "2024-10-07T00:36:47Z")

</div>

Hmmm  
so I cleaned cash  
I disabled all the plugins execept Hivepress  
But still have this issue

 ![chrome_2024-10-06_21-35-32](https://community.hivepress.io/uploads/default/original/2X/1/1711c3c2ccc26e88583851a700f7356435b0672a.png)

---

<div class="post-metadata">

**Author:** ![yavlenin](https://community.hivepress.io/letter_avatar_proxy/v4/letter/y/d6d6ee/32.png) [@yavlenin](https://community.hivepress.io/u/yavlenin)\
**Post date:** [October 7, 2024, 12:46am UTC](https://community.hivepress.io/t/location-radius-as-an-attribute/12332/20 "2024-10-07T00:46:17Z")

</div>

And in a very same time it works perfectly in the searching tab

 ![chrome_2024-10-06_21-45-43](https://community.hivepress.io/uploads/default/original/2X/3/3f44a04f97ffaec5fb4e06ed2f246a49781a3b4c.png)

---

<div class="post-metadata">

**Author:** ![andrii](https://community.hivepress.io/user_avatar/community.hivepress.io/andrii/32/2951_2.png) [@andrii](https://community.hivepress.io/u/andrii)\
**Post date:** [October 7, 2024, 8:43am UTC](https://community.hivepress.io/t/location-radius-as-an-attribute/12332/22 "2024-10-07T08:43:27Z")

</div>

Hi,

Please send temporary WP access to [support@hivepress.io](mailto:support@hivepress.io) with details for reproducing this issue, and we’ll check it (please send only the link, without login and password). You can create a temporary access link using this plugin: [Temporary Login Without Password – WordPress plugin | WordPress.org](https://wordpress.org/plugins/temporary-login-without-password).

---

<div class="post-metadata">

**Author:** ![yavlenin](https://community.hivepress.io/letter_avatar_proxy/v4/letter/y/d6d6ee/32.png) [@yavlenin](https://community.hivepress.io/u/yavlenin)\
**Post date:** [October 7, 2024, 6:57pm UTC](https://community.hivepress.io/t/location-radius-as-an-attribute/12332/23 "2024-10-07T18:57:00Z")

</div>

done!

---

<div class="post-metadata">

**Author:** ![andrii](https://community.hivepress.io/user_avatar/community.hivepress.io/andrii/32/2951_2.png) [@andrii](https://community.hivepress.io/u/andrii)\
**Post date:** [October 8, 2024, 9:13am UTC](https://community.hivepress.io/t/location-radius-as-an-attribute/12332/25 "2024-10-08T09:13:29Z")

</div>

Hi,

We’ve checked this issue, and as I said earlier, you have Google Maps configured incorrectly:

“Google Maps JavaScript API error: RefererNotAllowedMapError

> **[Mensagens de erro  |  Maps JavaScript API  |  Google for...](https://developers.google.com/maps/documentation/javascript/error-messages?hl=pt-br)**

Your site URL to be authorized”

We recommend rechecking the documentation: [How to set up Geolocation - HivePress Help Center](https://help.hivepress.io/article/120-how-to-set-up-geolocation)

---

<div class="post-metadata">

**Author:** ![yavlenin](https://community.hivepress.io/letter_avatar_proxy/v4/letter/y/d6d6ee/32.png) [@yavlenin](https://community.hivepress.io/u/yavlenin)\
**Post date:** [October 9, 2024, 11:14pm UTC](https://community.hivepress.io/t/location-radius-as-an-attribute/12332/26 "2024-10-09T23:14:40Z")

</div>

> [@andrii](#):
>
> RefererNotAllowedMapError

oh, nice! thanx guys! It’s good if you will have in a fuure kinda checklist for situations like this

---

<div class="post-metadata">

**Author:** ![system](https://community.hivepress.io/user_avatar/community.hivepress.io/system/32/13990_2.png) [@system](https://community.hivepress.io/u/system)\
**Post date:** [November 8, 2024, 11:15pm UTC](https://community.hivepress.io/t/location-radius-as-an-attribute/12332/27 "2024-11-08T23:15:21Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
