Open martinRenou opened 2 weeks ago
We should also consider https://deck.gl. The choice will probably depend on the needs of the project. While OpenLayers and LeafletJS should be similar for raster tiles, Maplibre should be more fit for vector tiles?
I edited the top comment
That would be really nice. Do you think we should be able to switch the viewer on the fly ? That would probably mean having some kind of viewer registry.
Indeed! We could do that.
I believe that, for the sake of simplicity, we'll start with maplibre-gl. But we should leave the door open to other viewers and allow switching on the fly. We should also provide the proper lumino tokens to allow extensions to provide their own viewers.
Viewers should implement the proper interface (addLayer()
, removeLayer
etc) so we can use them without really knowing what's under the hood.
Agree with this.
The default layer should be a separate package that adds the default to the registry, like other extensions would do.
It seems there are some choices on the front-end libs we can use:
We should make a decision on which one we pick by default.We will design jupytergis so it can use different viewers (a couple of default viewers, viewers swap-able or new viewers through plugins)