Skip to content
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

Features flash when transitioning between expression + constant values #6617

Open
lbud opened this issue May 4, 2018 · 1 comment
Open
Labels

Comments

@lbud
Copy link
Contributor

lbud commented May 4, 2018

mapbox-gl-js version: 0.44.2

browser: Chrome 65.0.3325.181

Steps to Trigger Behavior

  1. Create a layer styled with a constant property.
  2. Change property to expression-based property (not sure if all expressions, but at least with a match expression)
  3. Styled properties flicker when switching between constant and expression-based properties.

Link to Demonstration

Expected Behavior

Previously calculated paint values remain rendered until the first frame when recalculated values are ready, so there is no intermediary flash of any other value besides the two specified

Actual Behavior

Flash of either transparent or black

cc @anandthakker @kalimar

@lbud lbud added the bug 🐞 label May 4, 2018
@anandthakker
Copy link
Contributor

Likely due to #4012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants