# Will geofence command default to 'here' (current L/L) if none is specified?

**URL:** <https://discuss.blues.com/t/will-geofence-command-default-to-here-current-l-l-if-none-is-specified/557>\
**Category:** Notecard API\
**Created:** [December 16, 2021, 2:53pm UTC](https://discuss.blues.com/t/will-geofence-command-default-to-here-current-l-l-if-none-is-specified/557 "2021-12-16T14:53:57Z")\
**Posts on this page:** 2\
**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:** [December 16, 2021, 2:53pm UTC](https://discuss.blues.com/t/will-geofence-command-default-to-here-current-l-l-if-none-is-specified/557/1 "2021-12-16T14:53:57Z")

</div>

The following command sets the geofence (alert) radius around the specified L/L –  
{  
“req”: “card.location.mode”,  
“mode”: “periodic”,  
“lat”: 42.5776,  
“lon”: -70.87134,  
“max”: 100,  
“minutes”: 2  
}

If “lat” and “lon” are not specified, will those fields default to current L/L position? That appears to be the case with an experiment I tried.

regards, Rich …

---

<div class="post-metadata">

**Author:** ![seant](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@seant](https://discuss.blues.com/u/seant)\
**Post date:** [December 17, 2021, 2:15pm UTC](https://discuss.blues.com/t/will-geofence-command-default-to-here-current-l-l-if-none-is-specified/557/2 "2021-12-17T14:15:25Z")

</div>

Hi @richf ,

Yes - if the latitude and longitude are omitted from the geofence set request the most recent values are used.

Thanks  
Sean
