dimfeld / svelte-maplibre

Svelte bindings for the MapLibre mapping library
https://svelte-maplibre.vercel.app
MIT License
283 stars 34 forks source link

Fix GeoJSON so it reactively updates on style.load #75

Closed mhrgoldberg closed 9 months ago

mhrgoldberg commented 9 months ago

Fix GeoJSON component to update reference of sourceObj on the style.load event. Update the example to show this functionality.

https://github.com/dimfeld/svelte-maplibre/assets/34895686/e099aa5a-c06a-4220-8c67-61a8623418f4

closes #74

changeset-bot[bot] commented 9 months ago

🦋 Changeset detected

Latest commit: 272553a888fa13cadc0e84f173344e4d43aa3540

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | --------------- | ----- | | svelte-maplibre | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

vercel[bot] commented 9 months ago

Someone is attempting to deploy a commit to a Personal Account owned by @dimfeld on Vercel.

@dimfeld first needs to authorize it.

vercel[bot] commented 9 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
svelte-maplibre ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 4, 2023 1:23am
dimfeld commented 9 months ago

Thanks for the type cleanup in GeoJSON.svelte also!