Skip to content
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

Layer's opacity is not updated. #479

Closed
oterral opened this issue Jul 31, 2017 · 1 comment
Closed

Layer's opacity is not updated. #479

oterral opened this issue Jul 31, 2017 · 1 comment

Comments

@oterral
Copy link
Contributor

oterral commented Jul 31, 2017

In the case of you're using Cesium over the ol map , the visibility of the root group of the map is set to false . This behavior, combined with the enabling of the auto render loop process, prevents the layer's opacity to be updated if the render loop is stopped.

If the root group has a visibility of false, the change event is not propagated and catched by ol-cesium

You can reproduce it using the rastersync example in this zip file:
rastersync.zip

oterral pushed a commit to oterral/ol3-cesium that referenced this issue Jul 31, 2017
…of global change event on the root layer group
@gberaudo
Copy link
Member

gberaudo commented Aug 4, 2017

Fixed in newer OpenLayers version, see openlayers/openlayers#7073.

@gberaudo gberaudo closed this as completed Aug 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants