|
4 | 4 |
|
5 | 5 | ### Major Changes
|
6 | 6 |
|
| 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 | + |
7 | 26 | - [#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
|
8 | 27 |
|
9 | 28 | - [#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 | 43 |
|
25 | 44 | - [#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
|
26 | 45 |
|
| 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 | + |
27 | 56 | ### Patch Changes
|
28 | 57 |
|
29 | 58 | - [`6715e61`](https://github.com/dimfeld/svelte-maplibre/commit/6715e6139e0117b09b882450768461e023fbdb38) Thanks [@dimfeld](https://github.com/dimfeld)! - Fix standalone popups not appearing
|
30 | 59 |
|
31 | 60 | - [`87692e4`](https://github.com/dimfeld/svelte-maplibre/commit/87692e4f7ad2cebb55a8bdac53f8700f1507914f) Thanks [@dimfeld](https://github.com/dimfeld)! - Default marker offset is unset instead of [0, 0]
|
32 | 61 |
|
| 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 | + |
33 | 66 | ## 0.9.14
|
34 | 67 |
|
35 | 68 | ### Patch Changes
|
|
0 commit comments