-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Symbols canned up when switching between high and low zoom levels #12356
Comments
This behavior was introduced with cross-tile symbol fading -- we were aware of it and decided it was OK: But if it's a problem, it shouldn't be too hard to address, I think we'd basically put some kind of "zoom delta cap" on the tiles that we hold onto in the "holdForFade" logic, so that maybe after you crossed three zoom levels out we just immediately made symbols disappear. |
@m-stephen if you're interested in taking a look at this, probably the easiest place to modify is right here in the mapbox-gl-native/src/mbgl/renderer/tile_pyramid.cpp Lines 199 to 205 in 9e7694c
If you look higher up in that logic, you'll see where we calculate the I think we should try making the change and play around with it for a while to make sure it gives us a visual effect we like -- we might want to tweak the "how long to hold" parameters one way or another. |
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions. |
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions. |
We've added something similar to GL JS recently: mapbox/mapbox-gl-js#8628 |
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions. |
I noticed this behavior recently while switching from the demo route (
![screenshot from glyph-glitch ogv](https://user-images.githubusercontent.com/76133/42518625-f3105104-846a-11e8-88cb-3d6879170dab.png)
E
) and going back to world view (X
) in our GLFW demo app:From the image above, you can see all the symbols fading from a single point on the map. @ChrisLoer
I am assuming this as a side effect of #10436 - I'd like to propose that we establish a zoom range threshold for the fade transition to happen.
/cc @mapbox/gl-core
The text was updated successfully, but these errors were encountered: