js 3.0.01: fix 3.0.0 packaging [#347] (#348)

* js 3.0.1; fix 3.0.0 packaging [#347]

* We can't have a .mjs alongside a .js, so rename the IIFE to pmtiles.js and the ES6 module to index.js.
This commit is contained in:
Brandon Liu
2024-02-03 23:01:46 +08:00
committed by GitHub
parent 067347cebb
commit a9977e3385
5 changed files with 8 additions and 8 deletions

View File

@@ -4,7 +4,7 @@
<meta charset="utf-8"/>
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css" />
<script src="https://unpkg.com/leaflet@1.9.0/dist/leaflet.js"></script>
<script src="https://unpkg.com/pmtiles@3.0.0/dist/index.js"></script>
<script src="https://unpkg.com/pmtiles@3.0.1/dist/pmtiles.js"></script>
<style>
body, #map {
height:100vh;