Closed olakara closed 7 years ago
I have few location that do not need the pulsating animation. For those locations, I did the following:
L.icon.pulse({iconSize:[32,32],color:'#4885ed',animate: false});
This results in stopping the animation, but there is a visible ring on the marker which spoils the idea of stopping the pulsate behavior..
Here is the result:
I suspect the lines 30 ~ 32 in the source file:
if (!this.options.animate){ after.push('animation: none'); }
but, I don't know how to avoid the ring.
Refer to pull request #8 .. It fixes this issue..
I have few location that do not need the pulsating animation. For those locations, I did the following:
L.icon.pulse({iconSize:[32,32],color:'#4885ed',animate: false});
This results in stopping the animation, but there is a visible ring on the marker which spoils the idea of stopping the pulsate behavior..
Here is the result:
I suspect the lines 30 ~ 32 in the source file:
if (!this.options.animate){ after.push('animation: none'); }
but, I don't know how to avoid the ring.