WorldMapFrame:Refresh() or WorlmapFrame:Reload()
I've now found a way to display my pins via Blizzard pins. When the option is enabled in my addon, I simply remove certain Blizzard pins on the map and replace them with my pins. The problem; When you activate or deactivate the option, the Blizzard Pins on the map do not simply disappear, you first have to reopen/close the map or switch to another map so that the Blizzard Pins are no longer displayed.
Is there a command to refresh the map to show the changes? something like WorldMapFrame:Refresh() or WorlmapFrame:Reload() that works?
|