The production LEO renderer using controlled sample data.
The production Fire/EMS renderer using controlled sample data.
Duty and service
An entry must be present inGetUnitCache() and must not have offline status 100. Player connection alone is not duty status.
Service comes from unit.data.page:
- Police (
0) βLEO - Fire (
1) or EMS (2) βFIRE_EMS - Dispatch (
3) or unknown βOTHER
OTHER units are not shown on Active Units. The combined filter shows LEO and Fire/EMS, not OTHER.
Displayed fields
Each row renders:
Agency or subdivision may also appear as a group heading.
The normalized cache includes rank, district, group, coordinates, player association, panic, and update data, but version 1.0.0 does not render each of those as a row field. Panic callsigns receive a visual panic class.
Long callsigns, names, and locations are escaped and truncated with an ellipsis to protect the display layout. Missing values use the fallbacks above.
Status values
Unknown codes show the raw cached status or
UNKNOWN.
Enable Hide Unavailable Units on a display to exclude status code 0.
Grouping
Empty groups are not created. A display with no matching units shows:
Agency grouping with natural callsign ordering and independent group pagination.
Subdivision grouping with status sorting in a controlled renderer capture.
Sorting
Sorting uses case-insensitive, numeric-aware browser ordering. Callsigns such as
1A-2 therefore sort naturally before 1A-10.
A single group sorted by status.
Pagination and maximum rows
The default row budget is 12 and the allowed per-display range is 4β40. When multiple groups are present, the budget is divided evenly across the number of groups with a minimum of one row per group. Each group automatically changes its list page every 10 seconds and showscurrent/total beside the group heading.
Assignment and location
Dispatch call assignments are matched using the call cacheβsidents or units values. When a match is found:
- The unit row shows
CALL <call ID>. - The call card lists the unitβs callsign.
- The map can add the call ID beneath the unit marker.
Stale and missing data
An unchanged unit is marked stale internally afterConfig.StaleAfterSeconds (30 seconds by default). The Active Units table does not visually label individual stale rows; Live Map dims and outlines stale markers. If a cache call fails, the display shows the disconnected overlay.
Use diagnostics and sonorancad viewcaches to investigate a frozen or missing unit.
