-
Notifications
You must be signed in to change notification settings - Fork 821
/
sample.html
executable file
·53 lines (53 loc) · 1.87 KB
/
sample.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
<!-- [START maps_deckgl_points] -->
<!DOCTYPE html>
<html>
<head>
<title>deck.gl and Google Maps Platform</title>
<script src="https://polyfill.io/v3/polyfill.min.js?features=default"></script>
<!-- Use Material Design Progress indicator -->
<link
href="https://unpkg.com/material-components-web@6.0.0/dist/material-components-web.css"
rel="stylesheet"
/>
<script src="https://unpkg.com/material-components-web@6.0.0/dist/material-components-web.min.js"></script>
<!-- Load deck.gl -->
<script src="https://unpkg.com/deck.gl@^7.0.0/dist.min.js"></script>
<script
src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&callback=initMap&libraries=&v=weekly"
defer
></script>
<link rel="stylesheet" type="text/css" href="./style.css" />
<script src="./index.js"></script>
</head>
<body>
<div
role="progressbar"
class="mdc-linear-progress"
aria-label="Data Progress Bar"
>
<div class="mdc-linear-progress__buffer">
<div class="mdc-linear-progress__buffer-bar"></div>
<div class="mdc-linear-progress__buffer-dots"></div>
</div>
<div class="mdc-linear-progress__bar mdc-linear-progress__primary-bar">
<span class="mdc-linear-progress__bar-inner"></span>
</div>
<div class="mdc-linear-progress__bar mdc-linear-progress__secondary-bar">
<span class="mdc-linear-progress__bar-inner"></span>
</div>
</div>
<script>
var progress, progressDiv;
progressDiv = document.querySelector(".mdc-linear-progress");
progress = new mdc.linearProgress.MDCLinearProgress(progressDiv);
progress.open();
progress.determinate = false;
progress.done = function () {
progress.close();
progressDiv.remove();
};
</script>
<div id="map"></div>
</body>
</html>
<!-- [END maps_deckgl_points] -->