-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use as custom Mapbox layer (without regl) #124
Comments
For what it's worth, I have this working here: https://github.com/carderne/zarr-gl It's very basic currently, but I plan to add most of the missing functionality soon (and make it less janky!). |
This is so cool to see! Another pain point that this potentially helps with is escaping web mercator - it seems like custom layers might be able to render on mapbox's globe view (tho not their other projections for the moment)? Maplibre has a globe view coming as well so it'll be interesting to see whether custom layers are supported there too! We've had something like this on our
We're very excited to keep playing with zarr-gl and to see how it progresses. Thanks for reaching out! |
Hey @Shane98c thanks for this!
Anyway I'm going to keep slowly noodling. I need to add support for |
Oh and the other reason I switched back from zarrita: it seems to have some important metadata as private class fields. Haven't yet reached out to the devs to properly understand this. |
I've been playing around a bit with this code to see how feasible it would be to use most of the pipeline to create a custom Mapbox WebGL layer rather than a completely separate canvas rendered underneath a Mapbox layer.
The advantage of this (to my mind) would be that you could more easily interleave zarr layers with Mapbox layers, control visibility/opacity together with Mapbox, and potentially more easily build it out as a library rather than a framework as it currently is?
Would need to pull out regl, as afaict it doesn't support WebGL2 (which Mapbox requires).
I'm going to keep tinkering, but I thought I'd share this idea as I barely know my way around WebGL so may take a while!
The text was updated successfully, but these errors were encountered: