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

Dark overlay when switching style to Standard Satellite with low fadeDuration #13316

Open
palhal opened this issue Nov 5, 2024 · 0 comments
Open

Comments

@palhal
Copy link

palhal commented Nov 5, 2024

mapbox-gl-js version: 3.7.0
browser: Chrome 130.0.6723.92 (64-bit)

Steps to Trigger Behavior

  1. Initialize the map with a low fadeDuration (0)
  2. Change style to Standard Satellite using setStyle
  3. Observe that there is a dark overlay on top of the map
  4. Click on the map canvas
  5. Observe that the overlay disappears
  6. Set fadeDuration to a high number (100)
  7. Observe that the bug does no longer occur

Link to Demonstration

https://jsfiddle.net/pkhalle/km3r6tc7/

Expected Behavior

There is no dark overlay after switching style.

Actual Behavior

There is a dark overlay after switching style.

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

No branches or pull requests

1 participant