Repository navigation
[core, node, darwin, qt] Remove support for paint classes - #8953
Conversation
97b67ff to
420e83a
Compare
0d1325d to
b1075f5
Compare
e859904 to
2228ad9
Compare
There was a problem hiding this comment.
Keeping the methods but making them nonfunctional would technically allow us to avoid a major semver bump on iOS, but it’s against the spirit of those rules to change the behavior in a significant way. Fortunately, hopefully style class usage on iOS is insignificant enough to make this change regardless.
We should state in the documentation comments for the affected methods and in the iOS/macOS changelogs that these methods have no effect. (There are also still deprecated style class methods on the iOS implementation of MGLMapView.) Finally, there’s a line in the “Information for Style Authors” guide that refers to style classes; we should probably remove that.
There was a problem hiding this comment.
The negative version of BOOL is NO, not false.
There was a problem hiding this comment.
Normally deprecation messages say what to use instead, or they say, “There is no replacement.” In this case, the replacement would be setting properties on style layers individually, right?
There was a problem hiding this comment.
We don't need to maintain binary compatibility on the QMapboxGL interface - we use it internally and expose a separate API on the QtLocation plugin - thus it is safe to assume we can remove all class-handling function implementations from QMapboxGL.
There was a problem hiding this comment.
For the same reasons previously mentioned, we can remove the final argument entirely.
brunoabinader
left a comment
There was a problem hiding this comment.
Awesome job @jfirebaugh 🚀 I appreciate your attention over binary compatibility on the Qt API though we don't need it - we can nuke that code away too 🤘
|
Great, thanks @brunoabinader, I will remove it. |
It's still relevant for runtime-styling driven paint property changes.
We've long talked about doing this, and with the implementation of async rendering, which will unlock smart set style, I think it's time.
Fixes #2875.