@here/harp-examples
Version:
harp.gl Examples
56 lines (52 loc) • 1.59 kB
HTML
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"
/>
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title><%= htmlWebpackPlugin.options.title %></title>
<link
href="https://fonts.googleapis.com/css?family=Fira+Sans:400,500,600&display=swap"
rel="stylesheet"
/>
<style>
body {
background: #fff;
padding: 0;
margin: 0;
font-weight: bold;
font-family: "Fira Sans", sans-serif;
text-align: center;
}
#mapCanvas {
position: absolute;
border: 0px;
left: 0px;
width: 100%;
height: 100%;
overflow: hidden;
z-index: -1;
}
#copyrightNotice {
position: absolute;
right: 0;
bottom: 0;
background-color: #f0fef1;
z-index: 100;
padding: 2px 5px;
font-family: sans-serif;
font-size: 0.8em;
font-weight: normal;
}
</style>
</head>
<body>
<script src="three.min.js"></script>
<canvas id="mapCanvas"></canvas>
<div id="app"></div>
<div id="copyrightNotice"></div>
</body>
</html>