How to disable symbol fading when location moves? #6695
-
|
I've created a Map Libre app very similar to the Add live realtime data example. I have a symbol layer and the symbol's position is periodically moved via the setData() method. Is there a way to disable the "fade" animation when the symbol moves? When the symbol is drawn at its new location, there is maybe half a second where it goes through an animation where the alpha value of the symbol increases from 0 to the max value. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
|
I has a similar problem. |
Beta Was this translation helpful? Give feedback.
I has a similar problem.
I think you could use
icon-allow-overlapto solve this (maybe).If this doesn't work you can use
fadeDuration: 0when initializing the map, but then you don't have fade in for other symbols, which is not great...