View Single Post
11-21-14, 02:16 PM   #2
Digital_Utopia
A Flamescale Wyrmkin
 
Digital_Utopia's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2012
Posts: 110
Originally Posted by myrroddin View Post
Reading this thread got me thinking: Astrolabe can handle adding icons to instance maps just as well as world and mini maps. However, I am slowly writing my own replacement library.

If I created an API, say lib:AddIcon(mapID, mapFloor, icon) –– going simple here, passing an instance like the Garrison or a dungeon isn't going to work, as instanceIDs and mapIDs are not the same. Is there a suggested method to accomplish this?

Sure, I can look at Astrolabe, and often do, but, and I could be wrong, Astrolabe strikes me as overly complex.
Well, I'm pretty sure there are methods to get the WorldMapID, and the floor that's currently active on the player's map. You shouldn't need the InstanceID to do that. So I'm not sure what you're asking exactly. :/
__________________
  Reply With Quote