Show Fit File

plugin banner

This plugin allows you to add a map and summary exercise data from a .fit (Flexible and Interoperable Data Transfer) file.

Author:Stuart Tevendale (profile at wordpress.org)
WordPress version required:5.8
WordPress version tested:6.5
Plugin version:1.2.3
Added to WordPress repository:09-09-2020
Last updated:25-03-2024
Rating, %:100
Rated by:2
Plugin URI:https://stuarttevendale.com/wordpress-plugin-...
Total downloads:2 153
Active installs:70+
plugin download
Click to start download

Show Fit File is a sports & fitness oriented plugin that allows you to add a map and summary exercise data from a fit, gpx or tcx file. The maps are generated using leafletJS with the map tiles provided by OpenStreetMap.

These files are produced by fitness, running and cycling computers, such as Garmin, Polar, Suunto, Wahoo and Hammerhead devices. The files can usually be downloaded either directly from the device, or via the manufacturer’s portal.

Both a Gutenberg Block and Shortcode (.fit files only) versions are present in this plugin.

Usage

Block

Add the Show Fit File block to your post

Click on the blue button below the map to upload your .fit , .gpx or .tcx file. After a couple of seconds, your file will then be displayed.

An altitude profile graph will be displayed under the map. This can be hidden using the block controls in the side bar.

Shortcode

Upload the .fit file to your Media Library, then simply create a map from the file by adding the following ShortCode to your post:

[showfitfile file=”2019-06-16-10-48-12.fit”]

To change the units to Imperial (default is metric):

[showfitfile file=”2019-06-16-10-48-12.fit” units = “imperial”]

To change the route colour (default is ‘Red’):

[showfitfile file=”2019-06-16-10-48-12.fit” colour = “blue”]

To allow scrolling and zooming of the map (default is ‘no’)

[showfitfile file=”2019-06-16-10-48-12.fit” interactive = “yes”]

Icon

The icon uses Map by Atif Arshad from the Noun Project https://thenounproject.com/browse/icons/term/map/


Screenshots
FAQ
ChangeLog