forked from iamjpg/GoogleMapsPointClusterD3
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
58 lines (56 loc) · 1.41 KB
/
index.html
File metadata and controls
58 lines (56 loc) · 1.41 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Google Maps Point Clustering with D3.</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.css" />
<style>
body {
margin: 0;
padding: 0;
}
#map-container {
position: fixed;
width: 75%;
top: 0;
bottom: 0;
}
#map {
width: 100%;
height: 100%;
}
#results-container {
position: fixed;
top: 0;
right: 0;
bottom: 0;
width: 25%;
padding: 20px;
box-sizing: border-box;
overflow-y: auto;
}
#results {
margin-top: 20px;
}
#results > p {
cursor: pointer;
}
</style>
</head>
<body>
<div id="map-container">
<div id="map"></div>
<div id="results-container">
<div id="count"></div>
<div id="results">
</div>
</div>
</div>
<script src="//maps.google.com/maps/api/js?key=AIzaSyDciDh5LCPwyxG8tml6998d80mlukEj8Q4&libraries=drawing,places,geometry"></script>
<script src="//d3js.org/d3.v4.min.js"></script>
<script src="//d3js.org/d3-quadtree.v1.min.js"></script>
<script src="dist/build.js"></script>
<script src="example.js"></script>
</body>
</html>