mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 19:01:08 +00:00
* fix JS IIFE readme [#347] * js 3.0.2 - fix package.json and IIFE README
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
the [PMTiles](https://www.npmjs.com/package/pmtiles) package can be included via script tag or ES6 module:
|
||||
|
||||
```html
|
||||
<script src="https://unpkg.com/pmtiles@2.5.0/dist/index.js"></script>
|
||||
<script src="https://unpkg.com/pmtiles@<VERSION>/dist/pmtiles.js"></script>
|
||||
```
|
||||
|
||||
All the PMTiles exports are available under the global `pmtiles` variable e.g. `pmtiles.PMTiles`.
|
||||
|
||||
Reference in New Issue
Block a user