1/9
Looks like no tags are added yet.
OverpassApi.kt
Defines the single Overpass request (send query, get JSON back) and the shape of the response we’ll get (id, lat, lon, timestamp, and tags)
OverpassClient.kt
Sets up the network connection for the request, including defining the server address, the app name (Overpass has you give the app name in requests), and an extended timeout since the server can be slow
AlprCamera.kt
Defines the AlprCamera class, the 1° grid square, the Overpass query text, and the conversion from Overpass data to Camera objects.
CameraDirection.kt
Just converts the direction tag in compass bearings
CameraCache.kt
Saves and loads one JSON file per grid square onscreen
CameraRepository.kt
Decides whether to use cached cam locations or to make a new request
CameraViewModel.kt
Figures out which grid squares are on the screen, loads them, keeps the combined list of cameras, and tracks the status (loading, failed, or too zoomed out) for the message shown on screen
AlprIcons.kt
Draws red triangles with “!” and vision cones
AlprLayer.kt
Adds the two map layers (cones then triangles on top) and updates whenever camera list changes
MapScreen.kt
Serves visible area to CameraViewModel when map is dormant, redraws cams when light/dark mode is toggled, and shows the status message under search bar)