-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmap.html
More file actions
73 lines (61 loc) · 1.7 KB
/
map.html
File metadata and controls
73 lines (61 loc) · 1.7 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
body {
margin: 0;
}
path {
fill: none;
stroke: #000;
stroke-linejoin: round;
stroke-linecap: round;
}
.major_road { stroke: #776; }
.minor_road { stroke: #ccb; }
.highway { stroke: #f39; stroke-width: 1.5px; }
.rail { stroke: #7de; }
#clearGraph:hover, #drawNodes:hover, #drawEdges:hover{
cursor: pointer;
}
.button-green {
background-clip: padding-box;
background-color: #89BF42;
border-radius: 3px;
box-shadow: 0 3px 0 #5D901A;
color: #FFFFFF !important;
display: inline-block;
font-family: 'proxima-nova',arial,helvetica,sans-serif;
font-size: 15px;
font-weight: bold;
line-height: 18px;
margin-top: 2px;
padding: 5px 16px 4px;
}
.button-blue {
background-clip: padding-box;
background-color: #00A4E7;
border-radius: 3px;
box-shadow: 0 3px 0 #007AAC;
color: #FFFFFF !important;
display: inline-block;
font-family: 'proxima-nova',arial,helvetica,sans-serif;
font-size: 15px;
font-weight: bold;
line-height: 18px;
margin-top: 2px;
padding: 5px 16px 4px;
}
</style>
</head>
<body onload="onLoad();" >
<div id="drawNodes" class="button-blue">Draw Nodes </div>
<div id="drawEdges" class="button-green">Draw Edges</div>
<div id="clearGraph" class="button-blue">Clear Graph</div>
</body>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script>(window.jQuery || document.write('<script src="http://ajax.aspnetcdn.com/ajax/jquery/jquery-1.9.0.min.js"><\/script>'));</script>
<script src="http://d3js.org/d3.v3.min.js"></script>
<script src="http://d3js.org/d3.geo.tile.v0.min.js"></script>
<script src="map.js"></script>