Skip to content

Commit f9f91fa

Browse files
committed
1.0.0-next.13
1 parent c1e8a00 commit f9f91fa

10 files changed

+34
-58
lines changed

.changeset/eighty-points-bow.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/neat-months-tease.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/ninety-grapes-destroy.md

Lines changed: 0 additions & 22 deletions
This file was deleted.

.changeset/rude-comics-turn.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/sharp-rocks-knock.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/sweet-flies-develop.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/tame-ghosts-jump.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/wild-donkeys-chew.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,25 @@
44

55
### Major Changes
66

7+
- [#262](https://github.com/dimfeld/svelte-maplibre/pull/262) [`547e5e1`](https://github.com/dimfeld/svelte-maplibre/commit/547e5e1eee15f91fb56267455992da29cae9173d) Thanks [@dimfeld](https://github.com/dimfeld)! - Set `loaded = true` on `style.load` instead of `load`.
8+
9+
This greatly improves responsiveness of setting up the initial sources and layers.
10+
The MapLibre component also no longer gates rendering its children snippet on `loaded`.
11+
The `Layer` and various source-based components included with this library will wait for it, but if you have
12+
a custom component you may need to wait for `loaded` yourself using a pattern like this:
13+
14+
```javascript
15+
16+
const { map, loaded } = $derived(getMapContext())
17+
18+
$effect(() => {
19+
if(map && loaded) {
20+
map.addSource(...);
21+
}
22+
})
23+
24+
```
25+
726
- [#214](https://github.com/dimfeld/svelte-maplibre/pull/214) [`eadb5a4`](https://github.com/dimfeld/svelte-maplibre/commit/eadb5a4fa3ef301d503f6b7533b0483ec70c368d) Thanks [@dimfeld](https://github.com/dimfeld)! - Update to deck.gl v9
827

928
- [#214](https://github.com/dimfeld/svelte-maplibre/pull/214) [`0485a6a`](https://github.com/dimfeld/svelte-maplibre/commit/0485a6a56a7eb78dc8f2d838902236a022793755) Thanks [@dimfeld](https://github.com/dimfeld)! - Remove `map` attribute from events. It was already present as `target`
@@ -24,12 +43,26 @@
2443

2544
- [#244](https://github.com/dimfeld/svelte-maplibre/pull/244) [`49af3f3`](https://github.com/dimfeld/svelte-maplibre/commit/49af3f3b0cdf5b92a507fef4ba8e053d2b3e8e96) Thanks [@Tintow](https://github.com/Tintow)! - Exposed the bearingSnap property in the maps props to allow control over the default automatic snap-to-north
2645

46+
- [#246](https://github.com/dimfeld/svelte-maplibre/pull/246) [`2db55af`](https://github.com/dimfeld/svelte-maplibre/commit/2db55af65031ec0736cbacc8893db831512edccd) Thanks [@dimfeld](https://github.com/dimfeld)! - Add `canOpen` property to a Popup which allows per-feature control over whether to show a popup or not
47+
48+
- [#262](https://github.com/dimfeld/svelte-maplibre/pull/262) [`547e5e1`](https://github.com/dimfeld/svelte-maplibre/commit/547e5e1eee15f91fb56267455992da29cae9173d) Thanks [@dimfeld](https://github.com/dimfeld)! - Add BackgroundLayer component
49+
50+
- [#262](https://github.com/dimfeld/svelte-maplibre/pull/262) [`547e5e1`](https://github.com/dimfeld/svelte-maplibre/commit/547e5e1eee15f91fb56267455992da29cae9173d) Thanks [@dimfeld](https://github.com/dimfeld)! - Add projection support
51+
52+
- [#262](https://github.com/dimfeld/svelte-maplibre/pull/262) [`547e5e1`](https://github.com/dimfeld/svelte-maplibre/commit/547e5e1eee15f91fb56267455992da29cae9173d) Thanks [@dimfeld](https://github.com/dimfeld)! - Add `anchor` property to markers
53+
54+
- [#245](https://github.com/dimfeld/svelte-maplibre/pull/245) [`c1e8a00`](https://github.com/dimfeld/svelte-maplibre/commit/c1e8a007ba435787ab7c98fa582d0b176f5988c7) Thanks [@dimfeld](https://github.com/dimfeld)! - Allow Popups to inherit lngLat from a parent Marker
55+
2756
### Patch Changes
2857

2958
- [`6715e61`](https://github.com/dimfeld/svelte-maplibre/commit/6715e6139e0117b09b882450768461e023fbdb38) Thanks [@dimfeld](https://github.com/dimfeld)! - Fix standalone popups not appearing
3059

3160
- [`87692e4`](https://github.com/dimfeld/svelte-maplibre/commit/87692e4f7ad2cebb55a8bdac53f8700f1507914f) Thanks [@dimfeld](https://github.com/dimfeld)! - Default marker offset is unset instead of [0, 0]
3261

62+
- [#262](https://github.com/dimfeld/svelte-maplibre/pull/262) [`547e5e1`](https://github.com/dimfeld/svelte-maplibre/commit/547e5e1eee15f91fb56267455992da29cae9173d) Thanks [@dimfeld](https://github.com/dimfeld)! - Fix bounds equality check
63+
64+
- [#248](https://github.com/dimfeld/svelte-maplibre/pull/248) [`db5ed15`](https://github.com/dimfeld/svelte-maplibre/commit/db5ed15ed10fddfada9735ee39823d27b8416341) Thanks [@viernullvier](https://github.com/viernullvier)! - Fix type name conflicts with Maplibre types
65+
3366
## 0.9.14
3467

3568
### Patch Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "svelte-maplibre",
3-
"version": "1.0.0-next.12",
3+
"version": "1.0.0-next.13",
44
"description": "Svelte bindings for MapLibre",
55
"author": {
66
"name": "Daniel Imfeld",

0 commit comments

Comments
 (0)