We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcb8f2c commit a6a2baeCopy full SHA for a6a2bae
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "svelte-maplibre-gl",
3
- "version": "0.1.5",
+ "version": "0.1.6",
4
"license": "(MIT OR Apache-2.0)",
5
"description": "Build interactive web maps effortlessly with MapLibre GL JS and Svelte",
6
"repository": {
src/lib/maplibre/ext/pmtiles/PMTilesProtocol.svelte
<script lang="ts">
import { Protocol as MapLibreProtocol } from 'svelte-maplibre-gl';
- import { Protocol, PMTiles } from 'pmtiles';
+ import { Protocol, type PMTiles } from 'pmtiles';
let {
scheme = 'pmtiles',
@@ -34,8 +34,8 @@
34
35
$effect(() => {
36
if (pmtiles) {
37
- for (const pmtile of pmtiles) {
38
- protocol.add(pmtile);
+ for (const p of pmtiles) {
+ protocol.add(p);
39
}
40
41
});
0 commit comments