-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
217 lines (166 loc) · 7.4 KB
/
index.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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="stylesheet" type="text/css" href="css/map.css">
<link rel="stylesheet" type="text/css" href="css/text.css">
<script type='text/javascript' src="vendor/d3/d3.v3.min.js"></script>
<script type='text/javascript' src="vendor/d3-geo-projection/d3.geo.projection.v0.min.js"></script>
<script type='text/javascript' src="vendor/topojson-client/topojson.v1.min.js"></script>
<script type='text/javascript' src="vendor/numeric/numeric-1.2.6.min.js"></script>
<script type='text/javascript' src="vendor/css-element-queries/ResizeSensor.js"></script> <!--for Resize events-->
<script type='text/javascript' src="vendor/css-element-queries/ElementQueries.js"></script> <!--for Resize events-->
<script type='text/javascript' src="vendor/jquery/jquery.min.js"></script><!--for translations-->
<script type='text/javascript' src="vendor/jquery/jquery.translate.js"></script><!--for translations-->
<script src="js/projections.js"></script>
<script src="js/map_math.js"></script>
<script src="js/tools_tissot.js"></script>
<script src="js/tools_geodesic.js"></script>
<script src="js/tools_loxodrome.js"></script>
<script src="js/tools_aspect.js"></script>
<script src="js/ui_functions.js"></script>
<script src="js/map_applet.js"></script>
</head>
<body>
<div id="top_controls">
<input type="checkbox" id="checktext" checked>
<label for="checktext" class="trn">Information</label> </input>
<div class="dropdown">
<input type="button" id="lang_menu" class="dropbtn">
<label for="lang_menu"> 설 ⇄ A </label>
<div id="lang_options" class="dropdown-content"> </div>
</div>
<br>
<div id="text_controls">
<input type="button" id="button_start">
<label for="button_start" class="trn">Start</label>
<input type="radio" id="radio_text_tool" name="text_mode" value="tool">
<label for="radio_text_tool" class="trn">Tools</label>
<input type="radio" id="radio_text_proj" name="text_mode" value="proj">
<label for="radio_text_proj" class="trn">Projections</label>
<input type="button" id="button_about">
<label for="button_about" class="trn">About</label>
</div>
</div>
<div align="center" id="title_banner">
<!-- <img src="./txt/common/title.png" height="90%"> -->
Mappae mundi
</div>
<div id="map_tag">
<div id="coords_tag" class="coords_tag"> </div>
<div id="geo_tag" class="geo_tag">
<span class="trn">Geodesic</span>: <span id="geolength_tag"></span></div>
<div id="loxo_tag" class="loxo_tag">
<span class="trn">Loxodrome</span>: <span id="loxolength_tag"></span>,
Az: <span id="loxoazimuth_tag"> </span></div>
</div>
<div id="lateral_panel">
<div id="text_tag">
</div>
<div id="controls_tag">
<div id="control_tools" class="control_block">
<div class="control_title trn">Tools</div>
<div id="tool_buttons">
<div>
<input type="radio" id="radio_tissot" name="mode" value="tissot" checked>
<label for="radio_tissot" class="trn">Tissot's indicatrix</label>
</div>
<div>
<input type="radio" id="radio_geodesic" name="mode" value="move">
<label for="radio_geodesic" class="trn">Geodesic</label>
</div>
<div>
<input type="radio" id="radio_loxodrome" name="mode" value="move">
<label for="radio_loxodrome" class="trn">Loxodrome</label>
</div>
<div>
<input type="radio" id="radio_aspect" name="mode" value="move">
<label for="radio_aspect" class="trn">Aspect</label>
</div>
</div>
</div>
<div id="control_view" class="control_block">
<div class="control_title trn">View</div>
<div id="tissot_tools" class="subtool">
<!--
<input type="button" id="clear_ellipses" onclick="clearEllipses()" >
<label for="clear_ellipses" class="tooltip">
<span class="tooltiptext"><span class="trn">Clear</span></span>
<img src="./icons/trash.svg" width="20px" ></label>
-->
<input type="button" id="pop_ellipses">
<label for="pop_ellipses" class="tooltip">
<span class="tooltiptext"><span class="trn">Undo</span></span>
<img src="./icons/undo.svg" width="20px" ></label>
<input type="button" id="sample_ellipses">
<label for="sample_ellipses" class="tooltip">
<span class="tooltiptext"><span class="trn">Sample</span></span>
<img src="./icons/tissotsample2.svg" width="20px" ></label>
<input type="checkbox" id="decorate_ellipses">
<label for="decorate_ellipses" class="tooltip">
<span class="tooltiptext"><span class="trn">Goniometer</span></span>
<img src="./icons/goniometer.svg" width="20px" ></label>
<span class="tooltip">
<input type="number" id="ellipradius" style="width:50px; margin:0.5em;">
km <span class="tooltiptext"><span class="trn">Radius</span> </span>
</span>
</div>
<div id="geodesic_tools" class="subtool">
<input type="button" id="clear_geodesic">
<label for="clear_geodesic" class="tooltip">
<span class="tooltiptext"><span class="trn">Undo</span></span>
<img src="./icons/undo.svg" width="20px" ></label>
<input type="checkbox" id="geoextended">
<label for="geoextended" class="tooltip">
<span class="tooltiptext"><span class="trn">Extend</span></span>
<img src="./icons/extend.svg" width="20px" ></label> </input>
</div>
<div id="loxodrome_tools" class="subtool">
<input type="button" id="clear_loxodrome">
<label for="clear_loxodrome" class="tooltip">
<span class="tooltiptext"><span class="trn">Undo</span></span>
<img src="./icons/undo.svg" width="20px" ></label>
<input type="checkbox" id="loxoextended">
<label for="loxoextended" class="tooltip">
<span class="tooltiptext"><span class="trn">Extend</span></span>
<img src="./icons/extend.svg" width="20px" ></label>
</div>
<div id="aspect_tools" class="subtool">
<span class="tooltip"><span class="tooltiptext"><span class="trn">Fix aspect</span></span>
<select id="select-aspect">
<option value=equatorial class="trn">Equatorial</option>
<option value=polar_north class="trn">Polar (North)</option>
<option value=polar_south class="trn">Polar (South)</option>
<option value=oblique_yourlocation class="trn">Oblique (Your location)</option>
<option value=oblique_other class="trn">Oblique (Other)</option>
</select>
</span>
</div>
<div id="common_tools">
<input type="button" id="clear_all">
<label for="clear_all" class="tooltip">
<span class="tooltiptext"><span class="trn">Clear</span></span>
<img src="./icons/trash.svg" width="20px" ></label></input>
<input type="checkbox" id="rastervisible">
<label for="rastervisible" class="tooltip">
<span class="tooltiptext"><span class="trn">Terrain</span></span>
<img src="./icons/terrain.svg" width="20px" ></label> </input>
<input type="checkbox" id="countriesvisible">
<label for="countriesvisible" class="tooltip">
<span class="tooltiptext"><span class="trn">Country borders</span></span>
<img src="./icons/border.svg" width="20px" ></label> </input>
<input type="checkbox" id="graticulevisible">
<label for="graticulevisible" class="tooltip">
<span class="tooltiptext"><span class="trn">Graticule</span></span>
<img src="./icons/graticule.svg" width="20px" ></label> </input>
</div>
</div>
<div id="control_projections" class="control_block">
<div class="control_title trn">Projections</div>
<select id="projection-menu" size=8></select>
</div>
</div>
</div>
<script src="js/main.js"></script>
</body>
</html>