Normally I use the animation api for fadein/out animations.
https://github.com/zorker/rothui/blo...efader.lua#L55
Though for the minimap I do not do that. I just use an onleave delay timer of 1 second to hide all minimap icons.
https://github.com/zorker/rothui/blo.../core.lua#L156