Show Fit File

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.2
WordPress version tested:6.0.2
Plugin version:1.0.0
Added to WordPress repository:09-09-2020
Last updated:26-09-2022
Rating, %:0
Rated by:0
Plugin URI:http://yellowfield.co.uk/plugins/Show-FIT-Fil...
Total downloads:343
plugin download
Click to start download

This plugin allows you to add a map and summary exercise data from a .fit (Flexible and Interoperable Data Transfer) file. The maps are generated using leafletJS with the map tiles provided by OpenStreetMap.

Both a Gutenberg Block and Shortcode 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 file. After a couple of seconds, your file will then be displayed.

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”]


ChangeLog