-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
61 lines (51 loc) · 2.16 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<html>
<head>
<title>trailTracker</title>
<link rel="stylesheet" type="text/css" href="style.css" title="style" />
<script
src="https://code.jquery.com/jquery-3.3.1.js"
integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60="
crossorigin="anonymous">
</script>
<script>
$(function(){
$("#hikes").load("hikes.html");
});
</script>
</head>
<body>
<div id="canvas_proj" style="width: 850px;">
<h1>Hiking & Travel</h1>
<br>
<h2>About</h2>
<p>
This is the base template of <a href="https://github.com/sygreer/trailTracker">trailTracker</a>. Please edit this file to add any information you would like to include on this page.
</p>
<p>
A live preview of this is at <a href="http://www.sygreer.com/hiking">sygreer.com/hiking</a>.
</p>
<p>
This package includes sample gpx recordings of hikes and jpg images to use as a template.
</p>
<h3>Source code</h3>
<p>
The source code for generating these webpages from gpx data is available at <a href="https://github.com/sygreer/trailTracker">https://github.com/sygreer/trailTracker</a>. The maps are made using <a href="https://leafletjs.com/">Leaflet</a>, and also rely on modified versions of <a href="https://github.com/mpetazzoni/leaflet-gpx">Leaflet GPX</a> and <a href="https://github.com/hallahan/exif-to-geojson">EXIF to GeoJSON</a>. On each hike's page, the data are processed in Python primarily using <a href="https://github.com/tkrajina/gpxpy">gpxpy</a> and are plotted using <a href="https://plotly.com/">Plotly</a>.
</p>
<br/>
<div style="text-align: center;">
<iframe src="map.html" width="850" height="800"></iframe>
<a href="map.html"><button type="submit">View this map full screen</button></a>
</div>
<br/>
<h2>Hikes</h2>
<div id="hikes"></div>
</div>
<div id="footer">
<br>
Made with <a href="https://github.com/sygreer/trailTracker">trailTracker</a>.
<br>
<br>
</div>
</body>
</html>