The units
There are 2 possible units for distance :
- kilometer
- milles
There are 2 possible units for altitude:
- meter
- foot
Global configuration
The distance and altitude units are configured globaly by administrator in tab : Settings → Lf Hiker → Config Map
Change units for one path
But for each gpx path, you can set the distance unit by adding a unit
attribute in the shortcode.
unit=km
for kilometerunit=mi
for miles
you can set the altitude unit by adding a unit_h
attribute in the shortcode.
unit_h=m
for meterunit_h=ft
for foot
Examples
[lfh-gpx src=http://site.com/2017/04/stevenson4.gpx color=blue width=8 unit=mi unit_h=ft ][/lfh-gpx]
[lfh-gpx src=http://site.com/2017/04/stevenson4.gpx color=blue width=8 unit=km unit_h=ft][/lfh-gpx]