update leaflet example

This commit is contained in:
Brandon Liu
2021-04-26 11:52:56 +08:00
parent 8784c9972b
commit 25ee3092e1

View File

@@ -6,7 +6,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css"/>
<script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js"></script>
<script src="../js/pmtiles.js"></script>
<script src="https://unpkg.com/pmtiles@latest/index.js"></script>
<!-- <script src="../js/index.js"></script> -->
<style>
body, #map {
height:100vh;