walkermatt / ol-layerswitcher

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

Issue with Customized Local Build #501

Open kalyankurasala opened 6 months ago

kalyankurasala commented 6 months ago

Hi @walkermatt

I hope this message finds you well. I am currently working on a project where I have customized ol-layerswitcher npm package locally by making some changes to the DOM. After building the package, I attempted to use it in another Angular project instead of the official npm version.

However, I encountered an error, the same error I am getting even when I use the package without any modifications locally instead of npm version.

The below is the error I am seeing

image

I would greatly appreciate it if you could provide any insights or guidance on how to resolve this issue. If there's additional information you need or if you prefer a different format for reporting issues, please let me know.

Thank you for your time and assistance.

Best regards, Kalyan

walkermatt commented 6 months ago

If you can create a small example project that reproduces the issue I'll take a look.

A https://codesandbox.io/ sandbox along the lines of ol 7.3.0, ol-layerswitcher 4.1.1 would be ideal.