-
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
Write StyleLayer2 Class #1580
Comments
To get from here to data-driven styling, we add a color: {
isFeatureDependant: function() {
return this.isStyleValueFeatureDependent('circle-color')
}
value: function(x, y, extrudeX, extrudeY, properties) {
return this.getStyleValue('circle-color', properties);
}
} |
I am still trying to decide if these features should get glommed onto the Thoughts @jfirebaugh @mourner @tmcw @ansis? |
|
The only big ❓ is how we do transitions on data-driven properties. I think, in the short term, we don't do transitions on data-driven properties. |
I think we're going to want to have what you have sketched above together with the style property calculation logic that's currently in I definitely think having concrete |
This is vaguely related to #1620 but not so relevant that I think we should keep it open. |
StyleLayer2
will take on the following responsibilitiesHere's a pretotype definition of the
CircleStyleLayer
class:The text was updated successfully, but these errors were encountered: