-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Deprecate "StyleLayer#paint" and "StyleLayer#layout" #3044
Comments
@lucaswoj So this is the root of the problem I was seeing? — that |
@davidtheclark Worse, actually. |
I think we need to do this before adding further data-driven properties -- it's hiding a lot of bugs. |
StyleLayer#paint
andStyleLayer#layout
do not accommodate for data-driven styling. Any code that uses these properties probably doesn't accommodate for data-driven styling either. We should deprecate these properties in favor ofStyleLayer#getPaintValue
andStyleLayer#getLayoutValue
. This might be done in conjunction with #2739.cc @davidtheclark
The text was updated successfully, but these errors were encountered: