Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API C WorldMap.GetMapLandmarkInfo

Last wiki revision 2021-09-22

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)

  • landmarkIndex : Number - Indicates which landmark to query (from 1 to GetNumMapLandmarks)
  • 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, this landmark uses an object rather than POI icon.
  • atlasName : string
  • displayAsBanner : boolean
  • mapFloor : number
  • textureKitPrefix : string
  • The specifies, depending on , an icon from either or 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

Source

https://warcraft.wiki.gg/wiki/API_C_WorldMap.GetMapLandmarkInfo · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.