recorder/docroot/map/index.html
2022-04-17 19:34:04 +02:00

32 lines
1010 B
HTML

<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>GeoJSON track</title>
<meta name="viewport" content="width=device-width, height=device-height, user-scalable=no, initial-scale=1.0" />
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="icon" sizes="192x192" href="../static/recorder.png">
<link rel="apple-touch-icon" href="../static/recorder.png">
<style>
body { font-size: 80%; }
.name, .low-level { display: none; }
</style>
<link rel="stylesheet" href="../utils/map.css">
<script src="../static/apikey.js"></script>
<script type="module">
import { getApiUrl } from "../utils/network.js";
import { loadMapSolution } from "../utils/map.js";
const dataUrl = getApiUrl("locations", { includeSearchParams: true });
loadMapSolution(dataUrl);
</script>
</head>
<body>
<div id="map-canvas"></div>
</body>
</html>