js library 1.0.0 preliminary port to typescript (breaking changes)

This commit is contained in:
Brandon Liu
2022-02-17 13:31:03 +08:00
parent 8aac294603
commit bcb20299cd
5 changed files with 17 additions and 16 deletions

View File

@@ -4,7 +4,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://unpkg.com/maplibre-gl@1.14.1-rc.2/dist/maplibre-gl.css" crossorigin="anonymous">
<script src="https://unpkg.com/maplibre-gl@1.14.1-rc.2/dist/maplibre-gl.js" crossorigin="anonymous"></script>
<script src="https://unpkg.com/pmtiles@0.3.1/index.js"></script>
<script src="https://unpkg.com/pmtiles@latest/index.js"></script>
<!-- <script src="../js/dist/index.js"></script> -->
<style>
body, #map {
height:100vh;