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
- Estimated power (when enabled and no real power exists)
Toolsβ
Estimated Power (β‘ Est Power)β
For cycling activities that do not contain real power meter data, FitFileViewer can estimate ("virtual") power from speed + elevation/grade.
- Open the Map tab
- Click β‘ Est Power
- Adjust rider/bike weight, CdA, Crr, drivetrain efficiency, wind, and smoothing
When enabled, map tooltips will show Est. Power.
Measurement Toolβ
Measure distances on the map:
- Click the measure button (π)
- Click points on the map to build a measurement path
- See per-segment distances and the total distance as you add points
- Finish the measurement using any of these gestures:
- Double-click
- Right-click
- Click an existing point on the measurement path
- Results are shown in both metric and imperial units
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.