-
Notifications
You must be signed in to change notification settings - Fork 1.3k
expose property transitions to platform SDKs #6779
Comments
mbgl does support paint property transitions baked into the style. However, as far as I can tell, the concrete |
Also, mbgl does support setting a global paint property duration and delay, via |
I've done some experiments with this using the approach outlined here (under Animating Non-Visual Properties), which leverages This isn't high priority right now, but I will get back to this in the near future. |
Similarly, @cammace was able to do something a lot like this on Android using |
Re: #6779 (comment), I'm going to sidestep anything related to style classes right now due to #5948 (comment). Instead, I'm working on global/per-map setters & getters that can be used for broad style URL changes as well as runtime styling. I've confirmed that such things work when set globally (so, you could set a global duration of five seconds, then change a runtime styling property and see it animate in over that duration). |
As in GL JS, we support paint property transitions (i.e animations over time) in core (see here) but not yet in the platform SDKs.
This is an enhancement to runtime styling, but not needed to ship that feature.
/cc @1ec5 @mollymerp @peterqliu
The text was updated successfully, but these errors were encountered: