I'm facing exactly the same issue with Angular 4 application. Whatever I do, I cannot get rid of "Object W.[something] already exists". I've tried the proposed solutions from this thread, but getting a reference of window.W doesn't seem to work. Did anyone manage to solve this problem in Angular?
@entalpia @grabmartini @patfee Hi, thank you for your notes. Unfortunately in this moment we are not able to provide it, but we'll think about it, what can we change in the future. Best regards, Barbora
ok so I was able to get a tms layer working by doing this
map.baseLayer.options.tms = true;
map.baseLayer.options.maxZoom = 18;
map.baseLayer.options.minZoom = 2;
map.baseLayer.options.opacity = 0.50;
map.baseLayer.options.attribution = 'NOT TO BE USED FOR NAVIGATION'
but the opacity doesn't seem to be registering so I don't see any windy weather also the attribution isn't shown.
Any help on this would be appreciated, I know the tiles are full on images but if there is a level of transparency then I should see some weather behind it, I also don't mind being aggressive with the transparency to show the weather better