-
Notifications
You must be signed in to change notification settings - Fork 1
/
heatmap.html
63 lines (58 loc) · 3.53 KB
/
heatmap.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width">
<title>❤️ Heat Map ❤️</title>
<link rel="stylesheet" href="https://cache.amap.com/lbs/static/main1119.css" />
<link rel="stylesheet" type="text/css" href="./css/heatmap.css" />
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/all.css" integrity="sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt"
crossorigin="anonymous">
<script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.6&key=6c6ef0e9f9454edf59b97a1c958c746e"></script>
<script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.6&key=6c6ef0e9f9454edf59b97a1c958c746e&plugin=AMap.Autocomplete,AMap.PlaceSearch"></script>
<script type="text/javascript" src="https://cache.amap.com/lbs/static/addToolbar.js"></script>
<script type="text/javascript" src="./js/heatmap/heatmapData.js"></script>
</head>
<body>
<div id="container" class="map" tabindex="0"></div>
<div class="button-group" style="width: fit-content; background-color:rgba(0,0,0,0.5); border-radius: 10px">
<i class="fab fa-hotjar fa-2x" style="color: darkorange; margin: 3px"></i>
<i class="fas fa-compass fa-2x" style="margin: 3px"></i>
<i class="fas fa-search fa-2x" style="margin: 3px"></i>
<i class="fas fa-road fa-2x" style="margin: 3px"></i>
<i class="fas fa-globe-americas fa-2x" style="margin: 3px"></i>
<i class="fas fa-info-circle fa-2x" style="margin: 3px"></i>
<i class="fas fa-feather fa-2x" style="margin: 3px"></i>
</div>
<div class='button-group' id="mapTheme" style="background-color:rgba(0,0,0,0.5); border-radius: 10px">
<input type='radio' onclick='refresh(this.value)' checked name='mapStyle' value='normal'>Classic
<input type='radio' onclick='refresh(this.value)' name='mapStyle' value='dark'>Dark
<input type='radio' onclick='refresh(this.value)' name='mapStyle' value='light'>Silver
<input type='radio' onclick='refresh(this.value)' name='mapStyle' value='fresh'>Green
<input type='radio' onclick='refresh(this.value)' name='mapStyle' value='grey'>Grey
<input type='radio' onclick='refresh(this.value)' name='mapStyle' value='graffiti'>Doodle<br>
<input type='radio' onclick='refresh(this.value)' name='mapStyle' value='whitesmoke'>Whitesmoke
<input type='radio' onclick='refresh(this.value)' name='mapStyle' value='macaron'>Macaron
<input type='radio' onclick='refresh(this.value)' name='mapStyle' value='blue'>Azure
<input type='radio' onclick='refresh(this.value)' name='mapStyle' value='darkblue'>Midnight
<input type='radio' onclick='refresh(this.value)' name='mapStyle' value='wine'>Wine
<div id="tip"></div>
<div id="myPageTop">
<table>
<tr>
<td>
<label style="color: whitesmoke; align-content: center"> 👋 G'Day, mate!<br> Tell some places u're intersted in ❤️</label>
</td>
</tr>
<tr>
<td>
<input style="border-radius: 5px; border: 0px; background-color: grey; width: 100%;" id="tipinput" />
</td>
</tr>
</table>
</div>
<script type="text/javascript" src="./js/heatmap/map.js"></script>
<script type="text/javascript" src="./js/heatmap/menuBar.js"></script>
</body>
</html>