Skip to main content

Geofencing

A geofence turns any area on the map into a live boundary. The moment a team member crosses it, entering or leaving, everyone in the group gets notified. It works automatically in the background, and it works without internet too.


How to set up an alert zone​

Alert zones are attached to area items. You enable them when creating or editing an area.

Maps Pro

Each person can have up to 1 active alert zone per group on the Free plan, or 50 with Maps Pro →. This is per person, per group, a teammate's alert zones never count against your own allowance. Editing an alert zone you already have, or turning its alerts off, never counts against the limit, only creating a new one does.

When creating a new zone​

  1. Tap Add, then Zone
  2. Outline the zone on the map, then tap Save zone
  3. In the New zone form, turn on Alert the group
  4. Choose when to alert:
    • Enter, when something crosses into the zone
    • Exit, when something leaves it
    • Both, for full coverage
  5. In online groups, choose what the zone Watches: People, Live data, or both (see Live data in alert zones)
  6. Give the zone a clear name, it appears in the alert (e.g., "Sarah entered Base Camp")
  7. Tap Save zone

On an existing zone​

  1. Tap the zone on the map to open its sheet
  2. Tap ⋯, then Edit
  3. Turn on Alert the group and pick Enter, Exit or Both
  4. Tap Save changes

What happens when someone crosses the boundary​

Online groups​

  • Every group member, including the person crossing, receives a push notification: "Alex entered Base Camp"
  • A system message appears in the group chat as a visual record
  • The server evaluates the crossing, so recipients are notified even if their app is closed

Radio groups​

  • A notification fires on your device
  • A system message appears in the radio group chat
  • Everything runs locally, no internet required

Alert reliability by app state​

How reliably alerts fire depends on the group type and the app state of the people involved. "Backgrounded" here means the app is running in the background with Live Share active, see Background mode and Live Share.

Online groups​

Your app stateNotificationChat message
OpenYesYes
BackgroundedYesYes
ClosedYes (server push)Visible when you reopen

The person whose location is being tracked must have the app open or backgrounded. If their app is fully closed, their location is not sent to the server and no alert fires for anyone.

Radio groups​

Your app stateNotificationChat message
OpenYesYes
BackgroundedYesVisible when you reopen
Closed,,

Radio geofencing runs entirely on-device. When the app is closed there is no background process to evaluate crossings, so no alert can fire.


Permissions required​

For alerts to fire while the app is in the background, Carroted Maps needs Always location permission:

  • iOS, go to Settings → Carroted Maps → Location → select Always
  • Android, go to Settings → Apps → Carroted Maps → Permissions → Location → select Allow all the time

Notifications must also be enabled. See your device's notification settings for Carroted Maps.


Live data in alert zones​

In online groups, a zone can watch your group's live data as well as people: vehicles, trackers, sensors, anything your integration pushes to the map.

  • In the zone's form, under Watch, turn on Live data. People is on by default; you can watch either or both, but one always stays on.
  • When a pushed feature crosses the boundary, every member gets a push notification and a system message appears in chat: "Truck 12 entered Depot". The name is the feature's first detail, or its id.
  • The first time a feature shows up, Carroted Maps only notes whether it is inside. Alerts start from its next update, so a new feature never triggers an alert on arrival.
  • Checks run on the server each time your integration pushes, so they work whatever state anyone's app is in.

A zone that only watches live data never alerts on people, and the other way round.


LoRa tracker geofencing​

In addition to tracking named group members, Carroted Maps also monitors LoRa radio trackers, dedicated GPS nodes broadcasting position packets over the mesh, against your alert zones. This works with both Meshtastic and MeshCore firmware. It activates automatically once a tracker's signal is received by the connected radio device.

How it works​

When a tracker's GPS position crosses an alert zone boundary, Carroted Maps:

  1. Fires a local notification on your device
  2. Posts a system message in the group that owns the matched area

Tracker geofencing runs entirely on-device and works the same way as member geofencing, enter, exit, or both, depending on how you configured the zone. It works both when the app is open and when it is running in the background.

App state coverage​

Your app stateNotificationChat message
OpenYesYes
BackgroundedYesVisible when you reopen
Fully closed,,

MeshCore note: background tracker geofencing is best-effort. Only trackers whose advertisement packet arrives during an active BLE sync window are evaluated. Trackers that transmit between sync windows may be missed until the app foregrounds.

Caveats​

  • Tracker packets carry no group membership information. Carroted Maps checks the tracker's position against alert zones from all of your Radio groups and posts the system message to the group that owns the matched zone.
  • If a tracker's node ID is already a registered group member, it is handled by the normal member geofencing path, the tracker path skips it to avoid duplicate notifications.

What appears in chat​

When a tracker crosses a boundary, a system message appears in the Radio group chat:

── Node A3F2 entered [Base Camp] ──

The area name in the message is a tappable link that flies directly to that area on the map.


All geofence system messages, whether triggered by a group member or a LoRa radio tracker, include a tappable link to the area that was crossed. Tap the area name in the system message to navigate directly to it on the map.

This applies to both entry and exit events, and to both online and Radio groups.


Tips​

  • Use descriptive area names, they appear verbatim in alerts and in the tappable link in chat
  • Enable both enter and exit alerts for rendezvous points or timed operations
  • You can have multiple alert zones active in the same group simultaneously
  • Turning Alert the group off stops alerts without deleting the zone
  • Archiving an alert zone also stops it from firing alerts, unarchive it to resume monitoring
  • For MeshCore tracker geofencing in background, keep battery optimization off for Carroted Maps so background sync windows fire reliably