-
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
"raster-fade-duration" is not respected #3526
Comments
I would like to just remove this property and either hard-code a default, use the style global |
@jfirebaugh I would love to do this too, combined with removing individual transition properties altogether (in favor of a global style |
Same issue for me. When I set the layer opacity with Using |
I am having this issue as well. When I set |
I created a codepen example which demonstrates the issue https://codepen.io/anon/pen/MLMxBW |
+1. I am experiencing this issue. Any status update? |
For me fading out 1->0 works with a duration. But fading in 0->1 jumps immediately for raster layer. |
Per the style spec, raster layers may specify a
raster-fade-duration
.GL JS ignores this value in some places, instead using a hardcoded value of 300ms, and respects it in others, leaving some images marooned below their intended opacity.
mapbox-gl-js version: v0.26.0
Steps to Trigger Behavior
view http://jsbin.com/mowadacuju/1/edit?html,output
Expected Behavior
The map's animation loop runs for the duration of the layer's
raster-fade-duration
, allowing the image to reach its desired opacity.Actual Behavior
The map's animation loop runs only for 300ms, leaving the image at an opacity below its desired opacity.
The text was updated successfully, but these errors were encountered: