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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user