aprs.me/lib/aprsme_web/live
Graham McIntire 7318d2dfbc
Optimize viewport-based loading with zoom-aware batching
Key improvements:
- Fix spatial query order: Apply bounds filtering BEFORE limit/offset
- Add zoom-level based batch sizing (20-100 packets per batch)
- Dynamic batch count based on zoom level (2-5 batches)
- Faster loading delays for high zoom levels (25ms vs 50ms)
- Include zoom level in cache keys for better cache efficiency

Performance benefits:
- Zoomed in far (zoom 15+): 2 batches of 20 packets each
- Moderately zoomed (zoom 12-14): 3 batches of 35 packets each
- Medium zoom (zoom 8-11): 4 batches of 50 packets each
- Zoomed out (zoom <8): 5 batches of 75-100 packets each

This ensures packets are loaded from the current viewport first,
dramatically reducing load times when zoomed in.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-09 09:14:12 -05:00
..
bad_packets_live en español 2025-07-05 15:51:39 -05:00
info_live show dev mode, more imperial 2025-07-07 12:48:51 -05:00
map_live Optimize viewport-based loading with zoom-aware batching 2025-07-09 09:14:12 -05:00
packets_live en español 2025-07-05 15:51:39 -05:00
status_live parser hash fix 2025-07-07 13:07:32 -05:00
weather_live show 48 hour history on weather page 2025-07-08 13:25:29 -05:00
about_live.ex en español 2025-07-05 15:51:39 -05:00
about_live.html.heex en español 2025-07-05 15:51:39 -05:00
api_docs_live.ex use daisyui components 2025-07-05 09:22:47 -05:00
locale_hook.ex clean up warnings 2025-07-08 13:29:44 -05:00
user_confirmation_instructions_live.ex add user auth 2025-07-09 08:53:50 -05:00
user_confirmation_live.ex add user auth 2025-07-09 08:53:50 -05:00
user_forgot_password_live.ex add user auth 2025-07-09 08:53:50 -05:00
user_login_live.ex add user auth 2025-07-09 08:53:50 -05:00
user_registration_live.ex add user auth 2025-07-09 08:53:50 -05:00
user_reset_password_live.ex add user auth 2025-07-09 08:53:50 -05:00
user_settings_live.ex add user auth 2025-07-09 08:53:50 -05:00