aprs.me/assets/js
Graham McIntire f777dcbb35
fix(map): stop trail spidering across antimeridian and close gaps
- Normalize longitude delta in trail_manager Haversine so wraps across
  180/-180 no longer compute a near-global distance and spuriously
  split the trail into short-segment-filtered pieces.
- Unwrap longitudes before building segments and drawing polylines in
  both the per-station TrailManager and the show_trail_line handler so
  a date-line crossing renders as a short hop instead of a line that
  wraps around the world.
- Raise maxHopDistance (10 -> 100 km) and drop minSegmentPoints (3 -> 2)
  so legitimate fast movers (aircraft, balloons) and short valid hops
  are drawn instead of being dropped.
- Unbind mousemove/mouseout handlers on a trail before removing it so
  queued events can't fire against discarded state.
- Fix self.isValidCoordinate TypeError in updateMarker (function is
  module-level, not on the hook) and add coord validation to
  show_trail_line.
- Null boundsTimer after clearTimeout for cleanup consistency.
2026-04-20 18:03:25 -05:00
..
features fix(map): stop trail spidering across antimeridian and close gaps 2026-04-20 18:03:25 -05:00
hooks fix: harden frontend browser compatibility 2026-03-23 13:41:16 -05:00
types fix: clean up map resize hook listeners 2026-03-23 14:08:30 -05:00
app.ts fix: harden frontend reconnect callbacks 2026-03-23 14:31:08 -05:00
chart-bundle-entry.js Implement advanced JavaScript optimization with conditional loading 2025-07-25 14:05:18 -05:00
map-bundle-entry.js Fix Leaflet library loading race condition and enable Redis-free development 2025-07-27 12:20:23 -05:00
map.ts fix(map): stop trail spidering across antimeridian and close gaps 2026-04-20 18:03:25 -05:00
map_fixes.ts Remove debug console.log statements from JavaScript files 2025-07-18 15:37:05 -05:00
map_helpers.ts fix: sanitize invalid map timestamps 2026-03-23 13:43:37 -05:00
topbar.js js tweak 2025-07-05 13:16:37 -05:00
vendor.js try vector tiles 2025-07-24 10:54:31 -05:00