- Posts: 10
Displaying GPX track data
- Idris Scott
-
Topic Author
- Offline
- New Member
-
Less
More
20 May 2024 18:22 #1
by Idris Scott
Displaying GPX track data was created by Idris Scott
Hi all,I download a GPX track for most of our group’s walks on our website using the following coding which was provided on the Ramblers-Webs "How to" website.{src}<?php
//error_reporting(E_ALL);
//ini_set('display_errors', 1);
$gpx="images/group/GPX/Tarbet to Helensburgh on the Three Lochs Way 18th May 2024.gpx";
$map=new RLeafletGpxMap();$map->linecolour='#782327';
$map->addDownloadLink="Public";
$map->displayPath($gpx);
?>{/src}This programme displays, amongst other details, an estimated time, based on Naismith’s formula, for the walk. I would like to replace this with the actual time taken for the walk. Is this something I can do?I know the information is available as I also display all the walks in my GPX folder as a map using this coding: When a GPX track is displayed from this source the actual time and estimated time are displayed.Is it a simple matter to alter what details are displayed?I’m not particularly computer literate and do not want to get involved in a difficult process but if it is just changing a line of code I think I could manage it.Thanks to everyone for any help,Idris
//error_reporting(E_ALL);
//ini_set('display_errors', 1);
$gpx="images/group/GPX/Tarbet to Helensburgh on the Three Lochs Way 18th May 2024.gpx";
$map=new RLeafletGpxMap();$map->linecolour='#782327';
$map->addDownloadLink="Public";
$map->displayPath($gpx);
?>{/src}This programme displays, amongst other details, an estimated time, based on Naismith’s formula, for the walk. I would like to replace this with the actual time taken for the walk. Is this something I can do?I know the information is available as I also display all the walks in my GPX folder as a map using this coding: When a GPX track is displayed from this source the actual time and estimated time are displayed.Is it a simple matter to alter what details are displayed?I’m not particularly computer literate and do not want to get involved in a difficult process but if it is just changing a line of code I think I could manage it.Thanks to everyone for any help,Idris
Please Log in or Create an account to join the conversation.
- Ruby Tuesday
-
- Offline
- Administrator
-
Less
More
- Posts: 933
22 May 2024 11:59 #2
by Ruby Tuesday
Replied by Ruby Tuesday on topic Displaying GPX track data
Please login to view the answers
Please Log in or Create an account to join the conversation.
- Idris Scott
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 10
22 May 2024 19:11 #3
by Idris Scott
Replied by Idris Scott on topic Displaying GPX track data
Please login to view the answers
Please Log in or Create an account to join the conversation.
- David Stearne
-
- Offline
- New Member
-
Less
More
- Posts: 3
25 May 2024 13:01 #4
by David Stearne
Replied by David Stearne on topic Displaying GPX track data
Please login to view the answers
Please Log in or Create an account to join the conversation.
- Ruby Tuesday
-
- Offline
- Administrator
-
Less
More
- Posts: 933
25 May 2024 16:45 #5
by Ruby Tuesday
Replied by Ruby Tuesday on topic Displaying GPX track data
Please login to view the answers
Please Log in or Create an account to join the conversation.
- David Stearne
-
- Offline
- New Member
-
Less
More
- Posts: 3
26 May 2024 16:02 #6
by David Stearne
Replied by David Stearne on topic Displaying GPX track data
Please login to view the answers
Please Log in or Create an account to join the conversation.
- Ruby Tuesday
-
- Offline
- Administrator
-
Less
More
- Posts: 933
08 Jun 2024 15:04 #7
by Ruby Tuesday
Replied by Ruby Tuesday on topic Displaying GPX track data
Please login to view the answers
Please Log in or Create an account to join the conversation.
Time to create page: 1.337 seconds
