
內容簡介
Lf Hiker 是一款能快速在互動地圖上顯示您的 GPX 路徑和高程資訊的 WordPress 外掛。
Lf Hiker 具有響應式和行動裝置友善的設計。
主要用途
只需透過 WordPress 媒體管理員上傳您的 GPX 檔案,填寫其資訊,並在文章/頁面中插入它(短碼)。
[lfh-gpx src=url_to_file.gpx color=darkgreen width=6] A trail in Cevennes [/lfh-gpx]
顯示文章/頁面:您會看到您路徑的互動檢視。
該路徑默認顯示在 OSM 地圖上,並且具有自己的信息窗口,其中包括:
標題
描述
依據路徑的互動高程剖面圖
軌跡的距離
最高高度
最低高度
高度損失
高度增益
路徑持續時間
GPX 檔案下載連結
有關詳細資訊,請前往 Lf Hiker 網站
用途
服務
OpenStreetMap:世界上的開放地圖
Maps Stamen:設計地圖
OpenTopoMap:地形圖
ArcGIS:地形圖
函式庫
leaflet:一款用於製作支援行動裝置的互動地圖的開源 JavaScript 函式庫
leaflet-gpx:一款用於解析和分析 GPX 軌跡的 leaflet 外掛程式
font-awesome:為圖示字體而生
fontello:為圖示字體而生
awesome-marker:Lennard Voogdt 製作的豐富而色彩繽紛的標記
Shortcode Empty Paragraph:小型 WordPress 外掛,可修復短碼問題,由 Johann Heyne 製作
功能列表
Lf Hiker 還可以顯示:
在同一地圖上顯示多個 GPX 檔案
為地圖加上標記
在同一文章/頁面上顯示多個地圖
對於 GPX 軌跡,您可以自定義以下內容:
標題
描述
線條顏色
線條粗細
顯示下載 GPX 檔案的按鈕
僅在短碼中:
高度單位
距離單位
以米為單位的高程軸上的最小步數
Lf Hiker 包含一款協助編輯地圖和添加標記的幫助程式。
您可以選擇
地圖層次:
磁磚圖層(包括 OSM、OSM_FR、stamen 水彩、arcgis 世界地形、帶 API 金鑰的 mapquest)
顯示全螢幕按鈕
地圖視圖,或讓 Lf Hiker 自動尋找最佳視圖
顯示重設按鈕
顯示「圖層清單」按鈕
地圖大小
地圖的 CSS 類名(包括您自己的客製化類別)
是否啟用滑鼠滾輪縮放
是否啟用預設高程圖視圖
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
Lf Hiker is a plugin for quickly display your gpx tracks with their profile elevation on an interactive map.
Lf Hiker is responsive and mobile friendly.
Main Utilisation
Simply upload your gpx file with the wordpress media manager, complete its informations and insert it in your post/page (shortcode).
[lfh-gpx src=url_to_file.gpx color=darkgreen width=6]A trail in Cevennes[/lfh-gpx]
Display the post/page : you have an interactive view of your track.
The trail is displayed on an OSM map by default, and have its own information window with:
title
description
interactive profile elevation according to path
distance of the track
maximum elevation
minimum elevation
elevation loss
elevation gain
trail duration
download link of gpx file
For more information go to Lf Hiker site
Use
Services
OpenStreetMap an open map of the world
Maps Stamen design map
OpenTopoMap topographic map
ArcGIS topographic map
Libraries
leaflet an open-source JavaScript library for mobile-friendly interactive maps
leaflet-gpx a leaflet plugin for the analysis and parsing of a GPX track
font-awesome for iconic font
fontello for iconic font
awesome-marker Colorful, iconic markers by Lennard Voogdt
Shortcode Empty Paragraph little worpress plugin fix issue shortcode by Johann Heyne
List of Features
Lf Hiker allows displaying too:
few gpx files in the same map
markers on the map
few maps on the same post/page
For gpx track you can custom:
title
description
stroke color
stroke width
display button download gpx file
And only in shortcode:
the elevation unit
the distance unit
the minimum step on elevation axis (in meter)
Lf Hiker included an helper for edit map and add markers.
You can choose
for the map:
the tiles layer ( among OSM, OSM_FR , stamen watercolor, arcgis world topo, mapquest with api key)
to display the fullscreen button
the map’s view or let lf Hiker find automatically the best view
to display the reset button
to display the button “list of layers”
the size of the map
classnames for the map ( including your custom class)
to zoom on mousewheel
to start with profile elevation displayed
to display the description always under the map
for the markers:
color of icon marker
symbol in the icon
title
popup
visibility according to zoom or not
independant window with large description
You can do all this with the helpers or directly using shortcodes
You can choose to unactive the helper.
Lf Hiker allows you to customize the css in admin configuration (colors of information window, buttons and selected path)
IMPORTANT
If you think you found a bug in Lf Hiker or have any problem/question concerning the plugin, do not hesitate to contact me.
Supported languages
Français (fr_FR)
English (en_US)
Deutsch (de_DE) by Kristof Kling
Greek (el) by Pol Gkitsas
Dutch (nl-BE)
Spanish (es-ES) by Miguel Angel
If you need language of Lf Hiker which is not included. You can easily translate with poedit from the file :
lf-hiker/languages/lfh-default.po.
I will be happy, to add your translation to Lf Hiker.
If you have any questions about the method, do not hesitate to contact me.
If you find errors in my english translation do not hesitate to contact me.
Minimum requirements
WordPress 4.7.x
PHP 5.6
MySQL 5.x
