Skip to content

Use as custom Mapbox layer (without regl) #124

@carderne

Description

@carderne

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions