# Geofence "disable"

**URL:** <https://discuss.blues.com/t/geofence-disable/604>\
**Category:** Notecard API\
**Created:** [January 10, 2022, 8:07pm UTC](https://discuss.blues.com/t/geofence-disable/604 "2022-01-10T20:07:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![richf](https://avatars.discourse-cdn.com/v4/letter/r/74df32/32.png) [@richf](https://discuss.blues.com/u/richf)\
**Post date:** [January 10, 2022, 8:07pm UTC](https://discuss.blues.com/t/geofence-disable/604/1 "2022-01-10T20:07:55Z")

</div>

The documentation shows “card.location.mode” along with a “max” distance and (optional L/L and seconds) fields to configure … the “area” field will then show “inside” or “outside” upon “card.location” request. Is there an explicit method to disable geofence mode? (i.e. set “max” to 0) Or should we just not use “card.location” to check the “area” field?

regards, Rich …

---

<div class="post-metadata">

**Author:** ![NathanJC](https://avatars.discourse-cdn.com/v4/letter/n/9fc348/32.png) [@NathanJC](https://discuss.blues.com/u/NathanJC)\
**Post date:** [January 14, 2022, 4:43am UTC](https://discuss.blues.com/t/geofence-disable/604/2 "2022-01-14T04:43:44Z")

</div>

Hi richf,

I have been having the same problem for a while. I think I just stumbled across the solution. If I set “max” to -1, that seems to stop the geofence functionality.

![image](https://us1.discourse-cdn.com/flex020/uploads/blues/original/1X/b4f0850a883f4ef5886ecc5a46fe509516f1ae47.png)

Hope this helps.

Cheers,  
Nathan

---

<div class="post-metadata">

**Author:** ![richf](https://avatars.discourse-cdn.com/v4/letter/r/74df32/32.png) [@richf](https://discuss.blues.com/u/richf)\
**Post date:** [January 14, 2022, 2:33pm UTC](https://discuss.blues.com/t/geofence-disable/604/3 "2022-01-14T14:33:10Z")

</div>

Hi NathanJC,

That helps a lot !!! Thx for the feedback …

regards, Rich …
