New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in Angular 10 #380
Comments
Hi, have you installed the I think I'm going to simplify how the layer options are defined shortly but I think installing If you run into this issue with |
I've just released v3.8.1, see the CHANGELOG for details. |
Thanks @walkermatt. I've upgraded to latest ol, @types/ol and ol-layerswitcher. Works ok. Had to fix quite a few errors caused by adding the @types/ol package. const layer = new Layer({
title: 'Some title'
}) had to be changed to const layer = new Layer()
layer.set('title', 'Some title') |
Great, thanks for the update 👍 You can specify layer options including layer switcher specific properties such as |
Interesting. Will give it a go. |
Hi,
I've just upgraded from angular 9 to 10. My app compiles and runs ok but I'm seeing the following errors
The text was updated successfully, but these errors were encountered: