-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathindex.html
More file actions
32 lines (28 loc) · 1.23 KB
/
index.html
File metadata and controls
32 lines (28 loc) · 1.23 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>OpenStreetMap Building 3D Render</title>
<meta charset="UTF-8" />
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- Import maps polyfill -->
<!-- Remove this when import maps will be widely supported -->
<script async src="https://unpkg.com/es-module-shims@1.3.6/dist/es-module-shims.js"></script>
<script type="importmap">
{
"imports": {
"three": "https://unpkg.com/three/build/three.module.js",
"straight-skeleton": "https://cdn.skypack.dev/straight-skeleton@1.1.0",
"pyramid": "https://beakerboy.github.io/Threejs-Geometries/src/PyramidGeometry.js",
"ramp": "https://beakerboy.github.io/Threejs-Geometries/src/RampGeometry.js",
"wedge": "https://beakerboy.github.io/Threejs-Geometries/src/WedgeGeometry.js",
"hipped": "https://beakerboy.github.io/Threejs-Geometries/src/HippedGeometry.js"
}
}
</script>
<script type="module" src="./src/apis.js"></script>
<script type="module" src="./src/index.js"></script>
<div id="errorBox" style="position:absolute; top:10px; display:block; z-index:100; background-color: #ffffff; white-space:pre-line"></div>
</body>
</html>