walkermatt / ol-layerswitcher

Layer control for OpenLayers
MIT License
384 stars 176 forks source link

PluggableMap class removed from OL7 #489

Closed adhaca closed 1 year ago

adhaca commented 1 year ago

The PluggableMap class has been removed in Openlayers 7. But ol-layerswitcher v4.0.0 is still trying to import it. Is it possible to replace it with the regular Map class?

walkermatt commented 1 year ago

Good catch, I guess that makes the types incompatible with ol v7.

Would you be happy submitting a pull request?