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

disabled attribute should be described as read-only #48

Open
prushforth opened this issue Aug 2, 2021 · 1 comment
Open

disabled attribute should be described as read-only #48

prushforth opened this issue Aug 2, 2021 · 1 comment

Comments

@prushforth
Copy link
Member

prushforth commented Aug 2, 2021

The <layer- disabled> attribute is supposed to be read-only, reflecting the state of renderability of the layer content. For instance, if the layer content falls in a zoom range that does not include the map's current zoom, the layer's disabled property should be true.

@prushforth
Copy link
Member Author

prushforth commented Aug 2, 2021

I notice this is inconsistent over on the spec too; it's described as read-only on the api, but the attribute description implies it can be set.

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