-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
73 lines (70 loc) · 3.05 KB
/
index.php
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 lang="en">
<meta charset="UTF-8">
<head>
<title>Bd Cavite - Cesium</title>
<script type="text/javascript" src="cesium/Build/Cesium/Cesium.js"></script>
<script type="text/javascript" src="js/script.php"></script>
<link rel="stylesheet" type="text/css" href="css/style.css"/>
<style>
@import url(cesium/Build/Cesium/Widgets/CesiumWidget/CesiumWidget.css);
#cesiumContainer {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
margin: 0;
overflow: hidden;
padding: 0;
font-family: sans-serif;
}
body {
padding: 0;
margin: 0;
overflow: hidden;
}
</style>
</head>
<body onload="main()">
<!-- CESIUM VIEW //-->
<div id="cesiumContainer"></div>
<div class="popup" id="popup">
<button class="button" onclick="popup.close()">X</button>
<div class="title" style="display:block" id="popupTitle"></div>
<div id="popupText"></div>
</div>
<!-- Display the load indicator -->
<div id="loading">
<div class="text" id="loadingText">Chargement : 0 / ?</div>
</div>
<!-- Display the legend -->
<div class="footer" id="legend">
<h3>Légende</h3>
<!-- Search the country -->
<form id="pickCountryForm">
<label for="dep">Département : </label><input id="countryNumber" class="text" type="text" name="dep" placeholder="01 à 90"/>
<input type="submit" class="button" value="Ok"/>
</form>
<!-- Manage the type of data -->
<p>Type de données :</p>
<ul class="list">
<li><input id="legend_carriere" disabled="true" type="radio" name="type" value="carriere">Carrière</li>
<li><input id="legend_ouv_militaire" disabled="true" type="radio" name="type" value="ouv_militaire">Ouvrage militaire</li>
<li><input id="legend_souterrain" disabled="true" type="radio" name="type" value="souterrain">Souterrain</li>
<li><input id="legend_ouvrage_civil" id="legend_carriere" disabled="true" type="radio" name="type" value="ouvrage_civil">Ouvrage civil</li>
<li><input id="legend_galerie" disabled="true" type="radio" name="type" value="galerie">Galerie</li>
<li><input id="legend_cave" disabled="true" type="radio" name="type" value="cave">Cave</li>
<li><input id="legend_puits" disabled="true" type="radio" name="type" value="puits">Puits</li>
<li><input id="legend_naturelle" disabled="true" type="radio" name="type" value="naturelle">Naturelle</li>
<li><input id="legend_indetermine" disabled="true" type="radio" name="type" checked="checked" value="indetermine">Indéterminé</li>
</ul>
<p>Fond de carte :</p>
<ul class="list">
<li><input id="legend_arcgis" type="radio" name="carte" value="0">ArcGIS</li>
<li><input id="legend_bing" type="radio" name="carte" value="1">Bing Satellite</li>
<li><input id="legend_osm" type="radio" name="carte" checked="checked" value="2">Open Street Map</li>
</ul>
</div>
</body>
</html>