dimfeld / svelte-maplibre

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

Add support for raster sources and changing tiles #92

Closed dabreegster closed 7 months ago

dabreegster commented 8 months ago

For #33. @gtnbssn, would you mind please trying this for your use case and see if it works? Or if your custom component can do something else, could we add it here?

Note this needs maplibre-gl-js 3.5 for setTiles support. Does that make this a major/breaking change?

changeset-bot[bot] commented 8 months ago

🦋 Changeset detected

Latest commit: 3f1992324e949d79b73ece255dca449812a47261

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 | Minor |

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 8 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 8 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 Nov 10, 2023 8:07pm
dimfeld commented 8 months ago

I'm about to leave on a plane, so won't be able to get to this one in a timely fashion. But in November I'll be back and have some time to look at it. Thanks again!

gtnbssn commented 8 months ago

@dabreegster our use case was to get tiles from COGs, which aren't supported by maplibre out of the box.

We made a custom component for this, but the real path forward would probably be a maplibre plugin to support COGs (similar to the existing one for pmtiles), which is a bit out of my reach unfortunately! I am rushing another project (using OpenLayers which does support COGs) but hopefully will find time late November to come back to the project using MapLibre and maybe implement a better solution!

Thanks!

dimfeld commented 7 months ago

This is great. Thanks for your patience!

dimfeld commented 7 months ago

Published in v0.7.0.