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

ol.layer.Layer not included in full build ol.js #149

Closed
csozoli opened this issue Feb 18, 2019 · 1 comment
Closed

ol.layer.Layer not included in full build ol.js #149

csozoli opened this issue Feb 18, 2019 · 1 comment

Comments

@csozoli
Copy link

csozoli commented Feb 18, 2019

The ol.layer.Layer class would need an @api annotation, otherwise it is not visible in full ol.js build.
The case where this is needed is e.g. layer tree traversal to distinguish “leaf” layer from group layer.
An example of failure can be seen here: https://jsfiddle.net/tpcxL1e9/
Tested with v5.3.0.

@csozoli csozoli closed this as completed Feb 18, 2019
@csozoli
Copy link
Author

csozoli commented Feb 18, 2019

Very sorry, wrong topic, pls ignore

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

1 participant