fix: map overlay clicks, layer overlap, fan spacing, geocoding radius

- Move incident panel to left side (was topright, conflicting with LayersControl)
- Move legend to bottom-right, raise auto-fit button to clear it
- Tighten fan card step 7→5px for closer grouping
- Geocoding: remove bounded=1 hard clip, widen bias radius 0.1°→0.5° (~55km)
  so addresses like "34 Carlton Drive" resolve outside the node's immediate area
This commit is contained in:
Logan
2026-05-24 00:20:11 -04:00
parent 4fc44dcc86
commit 1071bcd3e8
2 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -52,7 +52,7 @@ Talkgroup: {talkgroup_name}
{ten_codes_block}{vocabulary_block}{transcript_block}"""
# Nominatim viewbox half-width in degrees (~11 km at mid-latitudes)
_GEO_DELTA = 0.1
_GEO_DELTA = 0.5 # ~55 km bias radius; viewbox used as preference, not hard bound
# node_id → state abbreviation/name from one-time reverse geocode
_node_state_cache: dict[str, str] = {}
@@ -231,7 +231,7 @@ async def _geocode_location(
"format": "json",
"limit": 1,
"viewbox": viewbox,
"bounded": 1,
"bounded": 0, # viewbox biases results but doesn't hard-clip them
}
headers = {"User-Agent": "DRB-Dispatch/1.0 (public-safety radio monitor)"}
try: