Originally Posted by Garkin
There is no such event.
If I'm not mistaken, you are adding filters using the LinMapPins library, so take a look how it works - functions lib:AddPinFilter(...), lib:SetEnabled(...) and lib.OnMapChanged() in LibMapPins-1.0.lua.
I'm not really confident that it really works as it should be working. If you find any bugs, let me know.
|
Well I have been trying to use lib:SetEnabled(...) and lib
isable(...) to force pins to deactivate, but they don't react to me clicking the filter.
Sounds to me like I have to make a mess of the filters list to make it possible to toggle all the pins I use.
I was just hoping I could avoid that as I think it would clutter up the filters list
I don't want to make a timed check to see if every filter is on or off, as I know it would be VERY bad for performance.