-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
71 lines (68 loc) · 2.42 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
<!DOCTYPE html>
<html>
<title>Landsat Solar Elevation</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="cache-control" content="no-cache">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato">
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" integrity="sha512-07I2e+7D8p6he1SIM+1twR5TIrhUQn9+I6yjqD53JQjFiMf8EtC93ty0/5vJTZGF8aAocvHYNEDJajGdNx1IsQ==" crossorigin=""/>
<script src="https://unpkg.com/[email protected]/dist/leaflet.js" integrity="sha512-A7vV8IFfih/D732iSSKi20u/ooOfj/AGehOKq0f4vLT1Zr2Y+RX7C+w8A1gaSasGtRUZpF/NZgzSAu4/Gc41Lg==" crossorigin=""></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.6.0/Chart.min.js"></script>
<style>
body {
font-family: 'Lato', "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #333333;
font-size: 16px;
}
p {
margin-top: 18px;
margin-bottom: 8px;
}
#container {
max-width: 800px;
position: relative;
display: block;
margin: 0 auto;
padding: 0 0px;
}
#map {
height: 400px;
width: 800px;
}
#plot {
width: 800px;
}
.inLine {
display:inline-block;
}
#info {
float: right;
cursor: pointer;
}
.leftColor{
border-left: 4px solid rgb(98, 184, 234);
padding-left: 4px;
margin-left: 10px;
}
.inLine .leftColor{
width: 135px
}
</style>
<body>
<div id="container">
<p class="inLine">Click a location to plot its annual solar elevation profile</p>
<!--<h5 id="info">Info</h5>-->
<div id="map"></div>
<p class="inLine">Hover on points</p>
<div class="inLine" style="float: right;">
<p id="lat" class="inLine leftColor" >Lat:</p>
<p id="lng" class="inLine leftColor" >Lng:</p>
<p id="tz" class="inLine leftColor" >Time Zone:</p>
<p id="tm" class="inLine leftColor" >Time:</p>
</div>
<canvas id="plot"></canvas>
<!--</div>-->
</div>
<script src="ls_sol_elev.js"></script>
</body>
</html>