-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
101 lines (93 loc) · 3.14 KB
/
index.html
File metadata and controls
101 lines (93 loc) · 3.14 KB
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<title>Document</title>
</head>
<body>
<style>
* {
padding: 0;
margin: 0;
}
body {
background-color: #111;
display: grid;
grid-template-columns: 4fr 1fr;
}
canvas {
width: 100%;
height: 100vh;
/* width: 100vh; */
}
div {
color: #bbb;
margin: 0px 10px;
}
#Sidebar {
overflow-y: auto;
height: 100vh;
}
#Sidebar div {
margin: 10px 0px;
}
#Sidebar div div {
margin-left: 10px;
}
</style>
<script src="dist/app.js"></script>
<div id="Sidebar">
<h1>GeoMap</h1>
<div>
Navigate by dragging, scroll to zoom. Also works with touchscreen input
</div>
<div id="MapData">
This map has 80000 features
</div>
<div id="SelectedData">
Selected feature is <span id="SelectedElement">none</span>
</div>
<div id="Info">
Features can be added and removed in constant time
<br>
Features can be stylized individualy, left click to style features
<br>
Styling is done by a lookup into a style table, there can be as many diffent styles as needed
</div>
<div id="ZoomStyle">
Feature style can be interpolated by zoom level. Styling includes color, line thickness, and potentialy
more.
<br>
</div>
<!-- Set the parameters here:
<span>
<div>Lower bound <input id="lower" type="number" value="1"></div>
<div>Upper bound <input id="upper" type="number" value="4"></div>
<div>Current zoom level: <span id="ZoomLevel"></span></div>
</span>
</div>
<div id="Data">
Maps can be composed of layers which can be rendered sepratly.
Tiles can hold any amount of meta data.
</div>
<div id="Options">
<div>Display Tile layer <input id="tile" type="checkbox" checked="true"></div>
<div>Display Feature layer <input id="feature" type="checkbox" checked="true"></div>
<div>Display Lines <input id="lines" type="checkbox" checked="true"></div>
<div>Display Polygons <input id="polygons" type="checkbox" checked="true"></div>
</div>
<div id="SprayMode">
Features can be added to any layer. Check this box to spray features with your mouse
<input id="spray" type="checkbox">
</div>
<div id="TileSelection">
Feature selection is very fast. Check this box to paint a giant square of featues with your mouse
<input id="paint" type="checkbox">
</div>
<div id="Performance">
Check the console for various performance data
</div>
</div> -->
</body>
</html>