View Single Post
02/15/19, 10:54 AM   #11
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,578
I believe he's talking about the map pins inside a city that show the bank, merchant, crafting hubs, etc.
They don't use the POI API which those filters and addons likely use. Instead they are called "MapLocations" and use a different set of APIs:
Code:
* GetNumMapLocations()
** _Returns:_ *integer* _numMapLocations_

* IsMapLocationVisible(*luaindex* _locationIndex_)
** _Returns:_ *bool* _isVisible_

* GetMapLocationIcon(*luaindex* _locationIndex_)
** _Returns:_ *string* _icon_, *number* _normalizedX_, *number* _normalizedZ_
  Reply With Quote