-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
83 lines (68 loc) · 2.93 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="./images/smoke-and-fire-icon.png" />
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css"
integrity="sha256-sA+zWATbFveLLNqWO2gtiw3HL/lh1giY/Inf1BJ0z14=" crossorigin="" />
<link rel="stylesheet" href="./style.css">
<title>WestCoast FireMap</title>
</head>
<body>
<div id="app-wrap">
<header> Header · West Coast Fire + AQI Map</header>
<div class='flex-container'>
<div class='main-leftside'>
<!-- <p>(leftside)</p> -->
<div class="flex-row">
<img src="images/fire-icon.png" alt="fire flames" height=50 width=50 />
<p>search:</p>
</div>
<button id="getfiredata">Place All Fire Markers</button>
<br>
<button id="logfiredata">Console.log Info</button>
<br>
<button id="addtestmarker">add_testmarker</button>
<button id="removetestmarker">remove_testmarker</button>
<br>
<div class="loader-container" style="display:none">
<p>Fetching Data...</p>
<div class="spinner"></div>
<p>Placing Markers...</p>
</div>
</div>
<div id="map" className='main-center'>
<Map data={data} index={index} />
</div>
<div class='main-rightside'>
<!-- <p>(rightside)</p> -->
<div class="flex-column">
<p>Map Goto:</p>
<button id="repomapwestcoast">West Coast, USA</button>
<button id="repomapseattle">Seattle, WA</button>
<button id="repomappdx">Portland, OR</button>
<button id="repomapsf">San Francisco, CA</button>
<button id="repomapla">Los Angeles, CA</button>
</div>
<!-- AQI Map -->
<p>Load AQI + Reposition:</p>
<div class="flex-row">
<div class="location-wrap">
<div id="leaflet-locations"></div>
</div>
<!-- <div id="leaflet-map"></div> -->
</div>
<div id="leaflet-map-bounds"></div>
<div id="leaflet-map-error"></div>
</div>
</div>
<footer>Footer · West Coast Fire + AQI Map </footer>
</div>
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"
integrity="sha256-o9N1jGDZrf5tS+Ft4gbIK7mYMipq9lqpVJ91xHSyKhg=" crossorigin=""></script>
<!-- <script src="./aqi.js"></script> -->
<script src="./script.js"></script>
</body>
</html>