-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·87 lines (82 loc) · 1.79 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
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Heatmap Grid in Deck.gl</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style type="text/css">
body {
margin: 0;
font-family: sans-serif;
font-size: 12px;
width: 100vw;
height: 100vh;
overflow: hidden;
}
/* .tooltip {
pointer-events: none;
position: absolute;
z-index: 9;
padding: 8px;
background: rgba(255, 255, 255, 0.8);
min-width: 160px;
max-height: 240px;
overflow-y: hidden;
} */
#control-panel {
position: absolute;
width: 200px;
background: rgba(255, 255, 255, 0.8);
top: 0;
left: 0;
margin: 20px;
padding: 20px;
z-index: 1;
}
#control-panel > div {
height: 20px;
line-height: 20px;
padding: 5px;
vertical-align: middle;
}
#control-panel .color-picker {
vertical-align: middle;
/* padding: 5px; */
background: #fff;
/* border-radius: 1px; */
/* box-shadow: 0 0 0 1px rgba(0,0,0,.1); */
display: inline-block;
cursor: pointer;
}
.color-picker .color-picker-preview {
width: 20px;
height: 20px;
/* border-radius: 2px; */
pointer-events: none;
}
#control-panel .popover {
position: absolute;
z-index: 2;
}
#control-panel .popover .cover {
position: fixed;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
}
#deckgl-wrapper {
isolation: isolate;
}
#deckgl-wrapper canvas {
mix-blend-mode: lighten;
}
</style>
</head>
<body>
<div id="app"></div>
</body>
<script type="text/javascript">
App.renderToDOM(document.getElementById('app'));
</script>
</html>