-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
50 lines (49 loc) · 1.79 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Demo voor gm-beta-mapbox3d</title>
<meta name="generator" content="Manual">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Webviewer with geodanmaps beta components">
<script src="./node_modules/mapbox-gl/dist/mapbox-gl-unminified.js"></script>
<link href="./node_modules/mapbox-gl/dist/mapbox-gl.css" rel="stylesheet">
<script src="./node_modules/three/build/three.min.js"></script>
<script src="./node_modules/three/examples/js/loaders/GLTFLoader.js"></script>
<!--<script src="./node_modules/mapbox-3dtiles/build/Mapbox3DTiles.js"></script>-->
<script src="./node_modules/proj4/dist/proj4.js"></script>
<style>
html, body {
box-sizing: border-box;
}
body {
margin: 0;
/* This is a font-stack that tries to use the system-default sans-serifs first */
font-family: 'Open Sans',sans-serif,'Arial','Helvetica',"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
line-height: 1.5;
-webkit-font-smoothing: antialiased;
min-height: 100%;
padding: 0;
}
html {
height: 100%;
width: 100%;
}
mapbox3d-viewer {
display: block;
width: 100%;
height: 100%;
min-height: 100%;
}
</style>
</head>
<body>
<mapbox3d-viewer></mapbox3d-viewer>
<noscript>
Please enable JavaScript to view this website.
</noscript>
<!-- Load webcomponents-loader.js to check and load any polyfills your browser needs -->
<script src="./node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
<script src="./build/mapbox3d-viewer.js"></script>
</body>
</html>