-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
35 lines (33 loc) · 1.18 KB
/
index.html
File metadata and controls
35 lines (33 loc) · 1.18 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Weather Stations Map - Dynamic DateTime with Clickable Points</title>
<!-- Include OpenLayers 4.6.5 CSS -->
<link rel="stylesheet" href="https://unpkg.com/openlayers@4.6.5/dist/ol.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="sidebar">
<button id="climateButton" class="active">Climate</button>
<button id="observationsButton">Observations</button>
</div>
<div id="map" style="width: 100%; height: 100vh;"></div>
<div id="map"></div>
<div class="slider-container">
<input type="range" id="timeSlider" min="-24" max="24" value="0" step="1">
<div id="datetime">
<label id="timeLabel"></label>
</div>
</div>
<div id="popup" class="ol-popup">
<div id="popup-content">
<canvas id="chart"></canvas>
</div>
</div>
<script src="https://unpkg.com/openlayers@4.6.5/dist/ol.js"></script>
<script src="script.js"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
</body>
</html>