View Single Post
07/24/22, 06:37 AM   #3
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,989
Afaik there is no "location type" ID or similar identifier.
The texture names currently seem to be the best way to find the locaiton type, because they do not need any "translation" (multi language support) like names of locations or contents of the location pin names would need (if the pin name even would provide that info, like a crafting station must not contain any "crafting" text or similar).


Maybe have a look at Votan's addon here where he changed some of the colors of the location pins:
https://www.esoui.com/downloads/info...PinColors.html
Votan is quite experienced with maps and pins so perhaps he shows you another way here.
-> If you spy or reuse code please give credit

Last edited by Baertram : 07/24/22 at 09:58 AM.
  Reply With Quote