aprs.me/assets
Graham McIntire 0b1e0b85f0
Fix map loading error with dynamic vendor bundles
- Fixed "Leaflet library failed to load" error by deferring window.L access
- Changed map.ts to access window.L dynamically instead of at module load time
- Added const L = window.L; inside functions that use Leaflet
- This allows the vendor bundle to load asynchronously before map initialization

The issue was that the TypeScript module was trying to access window.L
immediately when imported, before the vendor bundle had loaded Leaflet.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-25 14:25:05 -05:00
..
css Implement mobile web optimization and fix sidebar clipping 2025-07-21 14:31:49 -05:00
js Fix map loading error with dynamic vendor bundles 2025-07-25 14:25:05 -05:00
vendor Implement advanced JavaScript optimization with conditional loading 2025-07-25 14:05:18 -05:00
package.json try vector tiles 2025-07-24 10:54:31 -05:00