Vizzuality / layer-manager

A library to get a layer depending on provider and layer spec
https://layer-manager-docs.vercel.app
MIT License
18 stars 12 forks source link

Use maplibre leaflet binding to help Leaflet integration #121

Open Bluesmile82 opened 3 years ago

Bluesmile82 commented 3 years ago

We could use https://github.com/maplibre/maplibre-gl-leaflet (the Mapbox version is not maintained) to be able to use Layer Manager with leaflet. Maybe create a plugin for this use.

Just be aware of these caveats:

Apart from that, this might be the best option to maintain leaflet projects

Bluesmile82 commented 3 years ago

I'm thinking that maybe we don't even need a plugin. Just using Leaflet with the binding could be enough. We will have to check the integration with react or have an example of vanilla Layer Manager