mapillary-js/examples/doc/component-tag-interact.html
2021-06-03 08:36:47 +02:00

44 lines
1.2 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>Component Tag Interact</title>
<link rel="icon" href="data:," />
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, user-scalable=no"
/>
<link rel="stylesheet" href="/dist/mapillary.css" />
<link rel="stylesheet" href="/doc-css/options.css" />
<link rel="stylesheet" href="/doc-css/log.css" />
<style>
body {
margin: 0;
padding: 0;
}
html,
body,
.viewer {
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<script type="module">
import { accessToken } from "/doc-src/.access-token/token.js";
import { init } from "/doc-src/src/js/examples/component-tag-interact.js";
const container = document.createElement("div");
container.className = "viewer";
document.body.appendChild(container);
init({ accessToken, container });
</script>
</body>
</html>