View Single Post
01-29-24, 07:40 PM   #5
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,941
Bear in mind I have never dabbled with the world map, let alone the new data provider code. So what I say below may be utter garbage rofl. But just in case it isn't.


Looking at Blizzard_WorldMap addon, I see multiple types of pins, so it might depend on which type of pin you have based your pins on.

From: https://www.townlong-yak.com/framexm...taProvider.lua

function WorldMap_WorldQuestDataProviderMixin:RefreshAllData(fromOnShow)
> This appears to be for the various quest related pins and includes a call to *clear and refresh* the pin data.


From: https://www.townlong-yak.com/framexm...taProvider.lua

function WorldMap_EventOverlayDataProviderMixin:RefreshAllData(fromOnShow)
> This one clears the pins, and then recreates them based on the current events


From: https://www.townlong-yak.com/framexm...d_WorldMap.lua

function WorldMapMixin:RefreshOverlayFrames()
> This one might be useful if your pins are part of your own overlay frame.

Hopefully these will offer you some ideas on what might work for you Good Luck.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  Reply With Quote