-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gkml.html
177 lines (158 loc) · 7.02 KB
/
Gkml.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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<meta charset="utf-8">
<title>YC Zone Map App</title>
<link href='containerPlus/css/mb.containerPlus.css' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="svg.css">
<style type="text/css">
html, body, #map-canvas {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
overflow: hidden;
}
#map-canvas div:first-child div:first-child div:first-child div:first-child div:first-child div:first-child div:first-child img {
opacity: 0.5;
}
.labels {
color: red;
background-color: white;
text-align: center;
white-space: nowrap;
/*font-size: 8px !important;*/
}
.mbc_container > .mbc_header h2 {
padding: 0;
}
.mbc_title {
height: 30px;
}
.mbc_container > .mbc_content {
overflow: hidden !important;
}
#myform {
visibility: hidden;
display: none;
}
#zoneHeatMonthSelect {
visibility: hidden;
display: none;
}
#heatMonthSelect {
visibility: hidden;
display: none;
}
input[type="range"] {
-webkit-appearance: none !important;
background-color: silver;
height: 15px;
width: 135px;
}
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none !important;
background-color: #080861;
opacity: 0.5;
height: 15px;
width: 10px;
}
/*legend styles*/
#legend {
background: #FFF;
padding: 5px;
margin: 5px;
font-size: 12px;
font-family: Arial, sans-serif;
border: 1px solid black;
width: 90px;
height: 125px;
}
#legend h4:first-child {
margin: 0px;
}
.color {
border: 1px solid;
height: 12px;
width: 12px;
margin-right: 3px;
float: left;
}
.red {
background: #ff9900;
}
.yellow {
background: #ffff00;
}
.green {
background: #00ffff;
}
.blue {
background: #0000ff;
}
#appControls {
width: 400px;
height: 274px;
opacity: 0.8;
}
#chart1 {
top: 364px;
left: 108px;
opacity: 0.8;
width: 625px;
height: 493px;
}
#chart2 {
top: 364px;
left: 308px;
/*opacity: 0.8;*/
width: 600px;
height: 600px;
}
</style>
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&libraries=visualization"></script>
<script type="text/javascript" src='https://www.google.com/jsapi?autoload={"modules":[{"name":"visualization","version":"1"}]}'></script>
<script src="markerwithlabel.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.js"></script>
<script type="text/javascript" src="containerPlus/inc/jquery.mb.containerPlus.js"></script>
<script type="text/javascript" src="containerPlus/inc/mb.containerPlus.plugins.js"></script>
<script src="http://d3js.org/d3.v3.min.js"></script>
<script type="text/javascript" src="circularHeatChart.js"></script>
<script type="text/javascript" src="zones.js"></script>
<script type="text/javascript" src="mymap.js"></script>
</head>
<body>
<div id="map-canvas"></div>
<div id="appControls" class="container" data-centeronwindow=false data-icon="containerPlus/css/icons/browser.png" style="top:45px; left:108px;"
data-drag=true data-resize=true data-dock="dock" data-collapsable=true data-containment="document" data-buttons="dock,fullscreen" data-rememberme=true>
<h2>Controls</h2>
<table>
<tr><td><label><input onclick="toggleLabels()" type="checkbox" id="labelsButton" value="labels" checked />Labels</label></td></tr>
<tr><td>Zone Layer:<select onchange="fillOutline(this.value)" id="fillOutlineSelect" value="layers" disabled="true" /><option value="Fill">Fill</option><option value="Outline">Outline</option><option value="None">None</option></select></td></tr>
<!--<tr><td><label><input onchange="heatmap(this)" type="checkbox" id="fusioncb" />Fusion Heatmap</label></td></tr>-->
<tr><td><label><input onchange="apiHeatMap(this)" type="checkbox" id="heatmapcb" />Lat/Lon Heatmap</label>
<select id="heatMonthSelect" /><option value="April">April</option><option value="May">May</option><option value="June">June</option><option value="July">July</option><option value="August">August</option><option value="September">September</option><option value="October">October</option></select></td>
</tr>
<tr><td><label><input onchange="zoneHeatmap(this)" type="checkbox" id="fusionHeatcb" />Zone Heatmap</label>
<select id="zoneHeatMonthSelect" /><option value="April">April</option><option value="May">May</option><option value="June">June</option><option value="July">July</option><option value="August">August</option><option value="September">September</option><option value="October">October</option></select></td>
</tr>
<tr><td><form id="myform"><label>Zone:</label><br /><select id="zoneSelect"></select></form></td></tr>
<tr><td><label>Opacity of Layers</label></td></tr>
<tr><td><input onchange="layerOpacity(this.value / 100)" type="range" id="slide" min="1" max="100" value="50"/></td></tr>
</table>
</div>
<div id="chart1" class="container" data-centeronwindow=false data-icon="containerPlus/css/icons/chart.png" data-drag=true data-resize=true
data-dock="dock" data-collapsable=true data-containment="document" data-buttons="dock,fullscreen" data-rememberme=true >
<h2>Zone Chart</h2>
<div id="visualization"></div>
</div>
<div id="chart2" class="container" data-centeronwindow=false data-icon="containerPlus/css/icons/chart.png" data-drag=true data-resize=true
data-dock="dock" data-collapsable=true data-containment="document" data-buttons="dock,fullscreen" data-rememberme=true >
<h2>Circular heat chart</h2>
<div class="chart" id="circularChart"></div>
</div>
</body>
</html>