# Location and geofence

 This panel groups the Android policy settings that control device location reporting, location enforcement, and geofence definitions. Use it when you want Cerberus Enterprise to collect device locations or detect when devices enter or leave configured areas.

## Location reporting

### Report location

 Enables device geolocation reporting. Location data collected through this setting is used by the [**dashboard location map**](https://enterprise.cerberusapp.com/docs/books/user-manual/page/dashboard-location-map "Dashboard location map"), the device overview location history, and geofence processing.

<p class="callout info"> On devices that are not fully managed, location data may still depend on the Cerberus Enterprise app having the required location permissions and on location services being enabled on the device. </p>

### Location mode

 Controls the device location setting on company-owned devices.

- **User choice**: location services are not restricted by the policy.
- **Enforced**: location services are enabled on the device.
- **Disabled**: location services are disabled on the device.

### Share location disabled

 Disables location sharing for work apps. On profile-owner devices, this affects the work profile. On fully managed devices, it disables location for the whole device and overrides the device location mode.

## Automatic behavior with active geofences

 Active geofences require location reporting to work. When at least one geofence is active, Cerberus Enterprise automatically keeps the related location settings consistent.

- **Report location** is forced on while active geofences exist.
- **Location mode** is forced to **Enforced**.
- **Share location disabled** is forced off.

 If you try to disable **Report location** while one or more geofences are active, Cerberus Enterprise shows a confirmation dialog. If you continue, all active geofences in the policy are deactivated.

## Geofence list

 A policy can contain up to **10 geofences**. Geofence names must be unique within the policy.

 Use **Add geofence** to create a new entry. Each geofence contains these main fields:

- **Name**: required and unique.
- **Latitude** and **Longitude**: the center of the area.
- **Radius (m)**: required, from **100** to **10000** meters.
- **Description**: optional notes for administrators.
- **Report enter** and **Report exit**: choose which transition events should be generated.
- **Active**: enables or disables the geofence without deleting it.

<p class="callout info"> At least one of **Report enter** or **Report exit** must stay enabled for each geofence. </p>

## Map editing tools

 Each geofence card includes a map preview of the area. You can edit the geometry from the map or from the numeric fields.

- Click the map to move the geofence center when area editing is unlocked.
- Use the **Current location** button to center the map on your current browser position.
- Use the **Recenter map** button to restore the preferred viewport for that geofence.
- Use the lock button to prevent accidental changes to the geofence geometry.

## Where geofence data appears

 Geofence transitions can be reviewed in the Android [**Device overview**](https://enterprise.cerberusapp.com/docs/books/user-manual/page/device-overview "Device overview") page, inside the **Geofence** tab of the location panel. That tab shows transitions on a dedicated map together with filtering tools and the transition list.