Interactive Maps
FitFileViewer provides powerful map visualization using Leaflet.js.
Overviewβ
The Map tab displays your GPS route with:
- Interactive route visualization
- Multiple map layer options
- Lap and waypoint markers
- Measurement tools
- Elevation profile
Map Controlsβ
Zoomβ
| Method | Action |
|---|---|
| Mouse wheel | Scroll up/down |
| Buttons | Click +/- |
| Keyboard | + or - keys |
| Double-click | Zoom to point |
Panβ
- Click and drag the map
- Use arrow keys
- Click mini-map to jump
Reset Viewβ
- Double-click to zoom to point
- Use "Fit to route" button
- Press
Homekey
Map Layersβ
Click the layers button (ποΈ) to choose:
| Layer | Description | Best For |
|---|---|---|
| OpenStreetMap | Detailed street map | Urban routes |
| Satellite | Aerial imagery | Trail visualization |
| Terrain | Elevation shading | Mountain activities |
| Dark | Dark-themed map | Night viewing |
Route Displayβ
Route Lineβ
Your GPS track is shown as a colored line:
- Green section: Start of route
- Blue section: Middle of route
- Red section: End of route
Markersβ
| Marker | Color | Meaning |
|---|---|---|
| Start | π’ Green | Activity start point |
| End | π΄ Red | Activity end point |
| Laps | π΅ Blue | Lap split points |
Hover Informationβ
Mouse over the route to see:
- Distance from start
- Elapsed time
- Current speed
- Elevation
Toolsβ
Measurement Toolβ
Measure distances on the map:
- Click the measure button (π)
- Click points on the map
- See distance between points
- Double-click to finish
Fullscreenβ
Expand map to full window:
- Click fullscreen button (βΆ)
- Press
F11 - Click again to exit
Mini Mapβ
A small overview map in the corner:
- Shows your location on larger area
- Click to navigate
- Can be collapsed
Customizationβ
Route Colorsβ
The route automatically uses colors based on:
- Speed (faster = warmer colors)
- Heart rate zones
- Elevation changes
Map Styleβ
Match your theme:
- Light theme β Standard map
- Dark theme β Dark map style
Performance Tipsβ
Large Routesβ
For activities with many GPS points:
- Zoom in for detail
- Use route simplification
- Give time for initial render
Offline Mapsβ
Previously viewed areas are cached:
- Works offline for cached areas
- Blank tiles for new areas offline
Common Issuesβ
No Route Displayedβ
Causes:
- Indoor activity (no GPS)
- GPS data not recorded
- File parsing error
Solutions:
- Check if activity has GPS data
- Try reloading file
- Verify FIT file isn't corrupted
Slow Map Loadingβ
Causes:
- Large activity file
- Slow internet for tiles
- Many map layers
Solutions:
- Wait for initial load
- Zoom to specific area
- Use cached tiles
Inaccurate Routeβ
Causes:
- Poor GPS signal during activity
- Indoor/tunnel sections
- Device GPS issues
Note: FitFileViewer displays the data as recorded. GPS accuracy depends on your device.