[WordPress] 外掛分享: Show Fit File

首頁外掛目錄 › Show Fit File
WordPress 外掛 Show Fit File 的封面圖片
100+
安裝啟用
★★★★★
5/5 分(3 則評價)
724 天前
最後更新
0%
問題解決
WordPress 5.8+ PHP 7.4+ v1.2.3 上架:2020-09-08

內容簡介

Show Fit File是一個運動和健身導向的外掛,允許您添加從fit、gpx或tcx檔案中的地圖和總結運動數據。使用的地圖是由OpenStreetMap提供磁贴的leafletJS生成。

這些檔案是由健身、跑步和騎自行車的電腦,例如Garmin、Polar、Suunto、Wahoo和Hammerhead裝置所產生。這些檔案通常可以直接從裝置下載,或者通過製造商的入口獲取。

此外掛有Gutenberg Block和Shortcode版本(僅限於.fit檔案)。

使用方式
Block

將Show Fit File區塊添加到您的文章中

點擊地圖下方的藍色按鈕,上傳您的.fit、.gpx或.tcx檔案。幾秒鍾後,您的檔案將會顯示。

地圖下方會顯示高度曲線圖,這可以通過側邊欄的控制選項進行隱藏。

Shortcode

將.fit檔案上傳到您的媒體庫中,然後通過在文章中加入以下Shortcode來從檔案中創建一個地圖:

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

要將單位更改為英制(默認為公制):

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

要更改路線顏色(默認為紅色):

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

允許地圖滾動和縮放(默認為'no'):

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

圖示

此圖示使用了Map by Atif Arshad從Noun Project上的圖示 https://thenounproject.com/browse/icons/term/map/

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.2.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Show Fit File」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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/

延伸相關外掛

文章
Filter
Apply Filters
Mastodon