Band toggles previously roundtripped through LiveView and rebuilt every polyline + popup + hover handler on each click. Now the hook builds one L.LayerGroup per band once after the initial fetch; toggling is just addLayer/removeLayer on the map (O(bands), not O(contacts)). Checkbox and All/None events are handled directly in the hook via delegated document listeners — no LV roundtrip. Callsign filter still roundtrips (debounced) since it's cross-cutting, and now iterates pre-built polylines without recreating them. |
||
|---|---|---|
| .. | ||
| types | ||
| app.ts | ||
| beacon_map_hook.ts | ||
| beacons_list_map_hook.ts | ||
| contact_map_hook.ts | ||
| contacts_map_hook.ts | ||
| elevation_profile_hook.ts | ||
| locate_me_hook.ts | ||
| maidenhead_grid.ts | ||
| propagation_map_hook.ts | ||
| rover_map_hook.ts | ||
| weather_map_hook.ts | ||