API C WorldMap.GetMapLandmarkInfo

Returns the information about a landmark on the current world map.
 type, name, description, textureIndex, x, y, mapLinkID, showInBattleMap, graveyardID, areaID, poiID, isObjectIcon, atlasName, displayAsBanner, mapFloor, textureKitPrefix = GetMapLandmarkInfo(landmarkIndex)
==Arguments==
;landmarkIndex : Number - Indicates which landmark to query (from 1 to GetNumMapLandmarks())
==Returns==
;type : Number - Indicates the type of landmark. See LE_MAP_LANDMARK* in WorldMapFrame sources
;name : String - Name of the landmark, e.g. "Domination Point Tower".
;description : String - Description of the landmark, e.g. "Horde Controlled" or "Grand Master Pet Tamer".
;textureIndex : Number - An index representing which POI or object icon to display for this landmark.
;x : Number - The X location of the landmark's center; 0 at left edge of the map, 1 at the right.
;y : Number - The Y location of the landmark's center; 0 at the top edge of the map, 1 at the bottom.
;mapLinkID : Number - map link ID that should be if the landmark is clicked.
;showInBattleMap : Boolean - whether this landmark should be shown in the battle map.
;graveyardID : Number - for graveyard landmarks, graveyard ID for use in conjunction with ; 0 if not a graveyard.
;areaID : Number - WorldMapAreaID of the map this landmark should be limited to, or 0 if no such limitation applies.
;poiID : Number - POI-specific ID, or nil.
;isObjectIcon : Flag - if true, this landmark uses an object rather than POI icon.
;atlasName : string
;displayAsBanner : boolean
;mapFloor : number
;textureKitPrefix : string
==Details==
 
* The textureIndex specifies, depending on isObjectIcon, an icon from either Interface\​Minimap\​ObjectIcons or Interface\​Minimap\​POIIcons textures. You can use and functions to resolve these indices to texture coordinates.
* In patch 8.0.1 was split into various specialized API.
** 
** 
** 
** 
** 
** 
** 
** 
** and 
** 
** 
==Patch changes==
* 
* 
* 
* 
* 
* 
==See also==
*