epointal / lf-hiker

A wordpress plugin to quickly display yours gpx tracks with their elevation profile
http://elisabeth.pointal.org/lf-hiker/
12 stars 2 forks source link
gpx gpx-reader gpx-track php wordpress-plugin

Lf Hiker

Contributor: Elisabeth Pointal License GPL 2 Version 1.13.0

Plugin site web: Lf Hiker
Requires Wordpress version: 4.7.3
Tested up to: Wordpress 4.9
Stable version: 1.0

Lf Hiker is a wordpress plugin for quickly display your gpx tracks with their profile elevation on an interactive map. Lf Hiker is responsive, mobile friendly and customizable.

Description

Main Utilisation

Simply upload your gpx file with the wordpress media manager, complete its informations and insert it in your post/page (shortcode).
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:

Lf Hiker Front

List of Features

Lf Hiker allows displaying too:

For gpx track you can custom:

Lf Hiker included an helper for edit map and add markers. You can choose

for the map:

for the markers:

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, button and selected path)

For more information see Lf Hiker site


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

Installation

Minimum requirements.

Perform a new installation

After downloading the ZIP file lf-hiker-1.13.0.zip

  1. Unzip lf-hiker.zip
  2. Put the folder lf-hiker in directory wp-content/plugins
  3. Log in to the administrator panel.
  4. Go to Plugins Tab: Lf Hiker is among the plugins
  5. Click Activate button for activate Lf Hiker.
  6. If the activation does not succeed, please contact me.

Browsers

Tested with

Use

Changelog

1.13.0

1.12.0

1.11.0

1.10.0

1.9.0

1.8.1

1.8.0

1.7.0

1.6.0

1.5.0

1.4.2

1.4.1

1.4.0

1.3.9

1.3.8

1.3.7

1.3.6

1.3.5

1.3.4

1.3.3

1.3.2

1.3.1

1.3

1.2.1

1.2

1.1

1.0.4

1.0.3

first stable version

Frequently Asked Questions

1. How add separate map for a second gpx file in the same post


You can create a second map with adding shortcode [lfh-map] before your gpx file shortcode [lfh-gpx src="https://github.com/epointal/lf-hiker/raw/master/.."][/lfh-gpx].

Example:

   [lfh-map]     
   [lfh-gpx src=http://url_of_gpx_file1.gpx ]description[/lfh-gpx]   
   [lfh-map]    
   [lfh-gpx src=http://url_of_gpx_file2.gpx ]description[/lfh-gpx]  

2. Where can I create a gpx file ?


You can find a website list for do this in the page Track drawing websites
Openrunner is the best one for me and the most important: this website automatically add the elevation data needed to create the profile.
You can find on this site a quantity of already registered tracks.

You can also try the tools on www.mygpsfiles.com, easier to use


3. I have a blank page in place of the marker editor


This trouble come from conflict with multiple x-frame options directive in your server. Look at whether the plugin succeeded in writing this following lines in the .htaccess of your wordpress application if you can:

    # BEGIN Lf-hiker plugin
    <IfModule mod_headers.c>
    Header set X-Frame-Options SAMEORIGIN
    </IfModule>
    # END Lf-hiker plugin 

It resolve the trouble for me.
You can find more information about this trouble in wordpress support Multiple 'X-Frame-Options' headers with conflicting values


4. The route is not displayed


If you use WP media library other than the default WP - LF Hiker will not display routes