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

symbol layer does not transition / fade out when exceeding maxzoom #13136

Open
atomicfraser opened this issue Apr 3, 2024 · 0 comments
Open

Comments

@atomicfraser
Copy link

mapbox-gl-js version: 3.2.0

browser: Firefox, Chrome

Steps to Trigger Behavior

  1. Add a symbol layer with an icon-image and a max-zoom
  2. Zoom in beyond max-zoom
  3. The icon image disappears without a transition (no fade out animation)
  4. Zoom out within max-zoom
  5. The icon image re-appears with a transition (a fade in animation)

Link to Demonstration

https://jsfiddle.net/8tvj3w4o/1/

Expected Behavior

The icon image disappears according to the style's transition, as it does when zooming out

Actual Behavior

The icon image disappears instantly without an animation

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