-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
35 lines (32 loc) · 1.66 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Chris's simple GPX viewer</title>
<style>
html, body, #map-container {
margin: 0;
height: 90%;
width: 100%;
font-family: sans-serif;
}
</style>
</head>
<body>
<link rel="shortcut icon" href="bikeicon-64px.png">
<h3>Chris's really simple GPX viewer for explorer squares</h3>
Drag and drop one or more GPX (or KML) files from your PC onto the map to see which squares a route visits. Zoom level 14 is what matters for explorer squares. You need to zoom manually as I'm using a debug layer to provide the grid.<p>
KMLs use embedded colours, GPXs are shown in various shades of blue. The KML of most useful squares from your summary page on <a href="https://veloviewer.com">Veloviewer</a> works nicely, as does the KML generated by <a href="squares_py.html">this python script</a> I found and extended.
<div style="width: 100%;height:70%">
<div style="width: 80%; height: 100%; float: left;" id="map-container">Map</div>
<div style="margin-left: 82%;" id="legend"> <p id ="p1">File colour codes and stats:</p> </div>
</div>
<p>
<!--<script type="text/javascript" src="main.js"></script>-->
<div style="width: 80%; height:60px">
<canvas id="myChart" width="400px" height="60px"></canvas>
<div style="width:100%" id="location-status"/>
</div>
<em>If this means nothing at all to you, you probably aren't doing <a href="https://blog.veloviewer.com/?s=explorer">Veloviewer Explorer</a></em>. The code is available on <a href="https://github.com/ChrisHodgesUK/Explorer">my GitHub</a> for you to use as you like.<p>
</body>
</html>