-
Notifications
You must be signed in to change notification settings - Fork 0
/
fullload.html
73 lines (60 loc) · 2.62 KB
/
fullload.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
62
63
64
65
66
67
68
69
70
71
72
73
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="manifest" href="site.webmanifest">
<link rel="apple-touch-icon" href="icon.png">
<!-- Place favicon.ico in the root directory -->
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/main.css">
<meta name="theme-color" content="#fafafa">
</head>
<body>
<div id="status"></div>
<input type="file" id="uploader" />
<button id="close" onclick="closeGo()">Shutdown app</button><br>
<button id="btnHeader" onclick="showHeader()">Show header</button>
<button id="btnPrintPositions" onclick="printPositions()">Print positions</button>
<button id="btnDrawFrame" onclick="drawFrame()">Draw frame</button>
<button id="btnDrawFrames" onclick="startDrawFrames()">Draw frames</button>
<button id="btnStopResume" onclick="changeDraw()">Stop</button>
<br />
<!--
<table>
<thead>
<th>Parameter</th>
<th>Value</th>
</thead>
<tbody id="header">
</tbody>
</table>
<label for="map_width">Map width</label>
<input type="range" min=4400 max=4900 value=4526 step=1 id="map_width" onchange="updateXMultiplier(this.value);">
<label for="map_height">Map height</label>
<input type="range" min=4100 max=4700 value=4478 step=1 id="map_height" onchange="updateYMultiplier(this.value);">
<br>
<label for="x_center">X-center</label>
<input type="range" min=0.4 max=0.7 value=0.549 step=0.001 id="x_center" onchange="updateXCenter(this.value);">
<label for="y_center">Y-center</label>
<input type="range" min=0.6 max=0.8 value=0.724 step=0.001 id="y_center" onchange="updateYCenter(this.value);">
<br>
-->
<label id="xcoord">0.0</label>
<label id="ycoord">0.0</label>
<div id="canvases" style="position: relative;">
<canvas id="mapCanvas" width="1024" height="1024"
style="position: absolute; left: 0; top: 0; z-index: 0;"></canvas>
<canvas id="myCanvas" width="1024" height="1024"
style="position: absolute; left: 0; top: 0; z-index: 1;"></canvas>
</div>
<script src="wasm_loader.js"></script>
<script src="js/vendor/modernizr-3.7.1.min.js"></script>
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-3.3.1.min.js"><\/script>')</script>
<script src="js/plugins.js"></script>
<script src="js/main.js"></script>
</body>
</html>