walkermatt / ol-layerswitcher

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

Replaced ol/PluggableMap with ol/Map in definition file. #490

Closed adhaca closed 1 year ago

adhaca commented 1 year ago

489

walkermatt commented 1 year ago

@adhaca thanks, if you install the dev dependencies and run npm run build then the types and readme will be automatically updated.

adhaca commented 1 year ago

@walkermatt Thanks for the reply. I installed ol-layerswitcher as both a dependency and a devDependency. But unless I'm missing something I don't see any changes in the definition file. There is still an import statement for PluggableMap in the latest version.

walkermatt commented 1 year ago

Sorry, I wasn't clear.

Within your local clone of the ol-layerswitcher repository, install the dev dependencies and run npm run build then the types and readme will be automatically updated.

adhaca commented 1 year ago

I already ran a npm install and a npm run build on my local clone (2nd commit). Only forgot to update readme.

walkermatt commented 1 year ago

Merged in 46cfb40 :tada: