Skip to content

Commit a6a2bae

Browse files
committed
Bump to v0.1.6
1 parent dcb8f2c commit a6a2bae

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "svelte-maplibre-gl",
3-
"version": "0.1.5",
3+
"version": "0.1.6",
44
"license": "(MIT OR Apache-2.0)",
55
"description": "Build interactive web maps effortlessly with MapLibre GL JS and Svelte",
66
"repository": {

src/lib/maplibre/ext/pmtiles/PMTilesProtocol.svelte

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts">
22
import { Protocol as MapLibreProtocol } from 'svelte-maplibre-gl';
3-
import { Protocol, PMTiles } from 'pmtiles';
3+
import { Protocol, type PMTiles } from 'pmtiles';
44
55
let {
66
scheme = 'pmtiles',
@@ -34,8 +34,8 @@
3434
3535
$effect(() => {
3636
if (pmtiles) {
37-
for (const pmtile of pmtiles) {
38-
protocol.add(pmtile);
37+
for (const p of pmtiles) {
38+
protocol.add(p);
3939
}
4040
}
4141
});

0 commit comments

Comments
 (0)