tilfluktsrom/pwa/node_modules/leaflet.offline/examples/map-wmts/index.html

26 lines
798 B
HTML
Raw Normal View History

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Custom Layer (WMTS)</title>
</head>
<body>
<div class="container-fluid py-md-3">
<main id="app">
<h1>WMTS</h1>
<p>
This leaflet WMTS layer uses the download & save methods from the
<a
href="https://github.com/allartk/leaflet.offline/blob/master/docs/api.md#tilemanagerdownloadtiletileurl--promiseblob"
target="_blank"
>API</a
>
to save all viewed tiles for offline usage.
</p>
<div id="map" style="height: 75vh"></div>
</main>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>