You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Tile reload with changing symbol positions triggers cross-fade #10536
The problem here is that if a tile reload changes symbol positions (the example in the bug report uses setData to change the location of an icon), the CrossTileSymbolIndex can't track that it's the same symbol, and a cross-fade gets triggered.
The current JS fix just skips animation when tiles get reloaded, although the approach will need modification to work with the native logic that allows an updated tile to be rendered before placement occurs.
It will make the logic in CrossTileSymbolIndex more complicated, but it occurs to me that the "cross-tile" part isn't a requirement here, which means we can probably use things like the feature ID to detect duplicates? Maybe we could add some special update logic for replacing an existing tile that uses feature IDs to detect duplicates first?
This bug is in master but hasn't yet been publicly released.
I think this was really just a duplicate, fixed by @ansis in #10899. Handling animations across tile boundaries can go in a new issue if we need to address it.
Activity
ChrisLoer commentedon Jan 10, 2018
This will be fixed by #10899 (with the caveat that we still can't handle seamless animations across tile boundaries).
ChrisLoer commentedon Jan 11, 2018
I think this was really just a duplicate, fixed by @ansis in #10899. Handling animations across tile boundaries can go in a new issue if we need to address it.