forked from IGNF/itowns-legacy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
54 lines (40 loc) · 1.91 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
<!-- SIMPLE API DEMO -->
<html>
<head>
<title>iTowns TEST</title>
<meta charset="UTF-8">
</head>
<body style="height: 100%;overflow: hidden;margin:0;padding:0" >
<div id="containerITOWNS" tabindex="1" ></div>
<script data-main="src/app.js" src="http://requirejs.org/docs/release/2.1.15/minified/require.js"></script> <!-- build/itowns.js -->
<script>
var itowns;
function initialize() {
if (typeof allInitialized != 'undefined' && allInitialized) { // Check that everything is loaded
itowns = new API({
// Optional (Default values in Config.js)
dataURL: {
urlMetaDataProviderPos : "data/panoramicsMetaData.json",
urlImageFile : "data/images/",
urlMetaProviderSensor : "data/cameraCalibration.json",
urlBuildingFootprint : "data/buildingFootprint.json",
urlDTM : "data/dtm.json",
urlPointCloud : "data/pointclouds/",
url3DBuilding : "data/Buildings3D/"
},
usingLaserCloud : true,
//usingStreetView : true,
// usingBati3D : true,
positionInit : {x:651182.91,y:39.6,z:6861343.03}
});
// itowns.addLayer("pointCloud");
}
else {
console.log("checking");
setTimeout(initialize, 150);
}
}
initialize();
</script>
</body>
</html>