WoW API: GetMapLandmarkInfo
Jump to navigation
Jump to search
← WoW API < GetMapLandmarkInfo
Returns the information about a landmark on the current world map.
name, description, textureIndex, x, y = GetMapLandmarkInfo(landmarkIndex);
Note that 3.0.2 added more icons (102 now), doubled the size of the POIIcons.blp texture to 256x256 and moved the invisible texture from index 15 to 0.
Parameters
Arguments
- landmarkIndex
- Number - Indicates which landmark to query (from 1 to GetNumMapLandmarks())
Returns
- name
- String - The name of the landmark
- description
- String - A description of the landmark. In Battlegrounds this can dynamic information such as which faction controls the landmark.
- textureIndex
- Number - An index representing which landmark icon to display. These icons are in Interface\Minimap\POIIcons.blp, in an 16x16 grid (each icon is 16x16). Values are listed in the Landmarks section, below:
- x
- Number - The X location of the landmark's center (A proportion of the current map's width, between 0 and 1)
- y
- Number - The Y location of the landmark's center (A proportion of the current map's height, between 0 and 1)
Landmarks
Template:Col-begin Template:Col-5
- 0 Template:Sprite - 16x16
Invisible - 1 Template:Sprite - 16x16
Mine - 2 Template:Sprite - 16x16
Mine, Horde - 3 Template:Sprite - 16x16
Mine, Alliance - 4 Template:Sprite - 16x16
Graveyard, Alliance assaulted - 5 Template:Sprite - 16x16
Town - 6 Template:Sprite - 16x16
City - 7 Template:Sprite - 16x16
Flag - 8 Template:Sprite - 16x16
Gravestone - 9 Template:Sprite - 16x16
Tower, Alliance assaulted - 10 Template:Sprite - 16x16
Tower, Horde - 11 Template:Sprite - 16x16
Tower, Alliance - 12 Template:Sprite - 16x16
Tower, Horde assaulted - 13 Template:Sprite - 16x16
Graveyard, Horde - 14 Template:Sprite - 16x16
Graveyard, Horde assaulted - 15 Template:Sprite - 16x16
Graveyard, Alliance - 16 Template:Sprite - 16x16
Gold Mine - 17 Template:Sprite - 16x16
Gold Mine, Alliance assaulted - 18 Template:Sprite - 16x16
Gold Mine, Alliance - 19 Template:Sprite - 16x16
Gold Mine, Horde assaulted - 20 Template:Sprite - 16x16
Gold Mine, Horde - 21 Template:Sprite - 16x16
Lumber Mill - 22 Template:Sprite - 16x16
Lumber Mill, Alliance assaulted - 23 Template:Sprite - 16x16
Lumber Mill, Alliance - 24 Template:Sprite - 16x16
Lumber Mill, Horde assaulted - 25 Template:Sprite - 16x16
Lumber Mill, Horde - 26 Template:Sprite - 16x16
Blacksmith - 27 Template:Sprite - 16x16
Blacksmith, Alliance assaulted - 28 Template:Sprite - 16x16
Blacksmith, Alliance - 29 Template:Sprite - 16x16
Blacksmith, Horde assaulted - 30 Template:Sprite - 16x16
Blacksmith, Horde
- 31 Template:Sprite - 16x16
Farm - 32 Template:Sprite - 16x16
Farm, Alliance assaulted - 33 Template:Sprite - 16x16
Farm, Alliance - 34 Template:Sprite - 16x16
Farm, Horde assaulted - 35 Template:Sprite - 16x16
Farm, Horde - 36 Template:Sprite - 16x16
Stables, neutral - 37 Template:Sprite - 16x16
Stables, Alliance assaulted - 38 Template:Sprite - 16x16
Stables, Alliance - 39 Template:Sprite - 16x16
Stables, Horde assaulted - 40 Template:Sprite - 16x16
Stables, Horde - 41 Template:Sprite - 16x16
Skull, purple - 42 Template:Sprite - 16x16
Unknown - 43 Template:Sprite - 16x16
Flag, Alliance - 44 Template:Sprite - 16x16
Flag, Horde - 45 Template:Sprite - 16x16
Flag - 46 Template:Sprite - 16x16
Alliance crest - 47 Template:Sprite - 16x16
Alliance crest, uncaptured - 48 Template:Sprite - 16x16
Horde crest - 49 Template:Sprite - 16x16
Horde crest, uncaptured - 50 Template:Sprite - 16x16
Tower, Alliance damaged - 51 Template:Sprite - 16x16
Tower, Alliance destroyed - 52 Template:Sprite - 16x16
Tower, Horde damaged - 53 Template:Sprite - 16x16
Tower, Horde destroyed - 54 Template:Sprite - 16x16
Tower, damged - 55 Template:Sprite - 16x16
Tower, destroyed - 56 Template:Sprite - 16x16
Bridge - 57 Template:Sprite - 16x16
Bridge, damaged - 58 Template:Sprite - 16x16
Bridge, destroyed - 59 Template:Sprite - 16x16
Bridge, Horde - 60 Template:Sprite - 16x16
Bridge, Horde damaged - 61 Template:Sprite - 16x16
Bridge, Horde destroyed
- 62 Template:Sprite - 16x16
Bridge, Alliance - 63 Template:Sprite - 16x16
Bridge, Alliance damaged - 64 Template:Sprite - 16x16
Bridge, Alliance destroyed - 65 Template:Sprite - 16x16
Workshop - 66 Template:Sprite - 16x16
Workshop, damaged - 67 Template:Sprite - 16x16
Workshop, destroyed - 68 Template:Sprite - 16x16
Workshop, Horde - 69 Template:Sprite - 16x16
Workshop, Horde damaged - 70 Template:Sprite - 16x16
Workshop, Horde destroyed - 71 Template:Sprite - 16x16
Workshop, Alliance - 72 Template:Sprite - 16x16
Workshop, Alliance damaged - 73 Template:Sprite - 16x16
Workshop, Alliance destroyed - 74 Template:Sprite - 16x16
Gate - 75 Template:Sprite - 16x16
Gate, damaged - 76 Template:Sprite - 16x16
Gate, destroyed - 77 Template:Sprite - 16x16
Gate, Horde - 78 Template:Sprite - 16x16
Gate, Horde damaged - 79 Template:Sprite - 16x16
Gate, Horde destroyed - 80 Template:Sprite - 16x16
Gate, Alliance - 81 Template:Sprite - 16x16
Gate, Alliance damaged - 82 Template:Sprite - 16x16
Gate, Alliance destroyed - 83 Template:Sprite - 16x16
Wall, horizontal - 84 Template:Sprite - 16x16
Wall, horizontal damaged - 85 Template:Sprite - 16x16
Wall, horizontal destroyed - 86 Template:Sprite - 16x16
Wall, Horde horizontal - 87 Template:Sprite - 16x16
Wall, Horde horizontal damaged - 88 Template:Sprite - 16x16
Wall, Horde horizontal destroyed - 89 Template:Sprite - 16x16
Wall, Alliance horizontal - 90 Template:Sprite - 16x16
Wall, Alliance horizontal damaged - 91 Template:Sprite - 16x16
Wall, Alliance horizontal destroyed - 92 Template:Sprite - 16x16
Wall, vertical
- 93 Template:Sprite - 16x16
Wall, vertical damaged - 94 Template:Sprite - 16x16
Wall, vertical destroyed - 95 Template:Sprite - 16x16
Wall, Horde vertical - 96 Template:Sprite - 16x16
Wall, Horde vertical damaged - 97 Template:Sprite - 16x16
Wall, Horde vertical destroyed - 98 Template:Sprite - 16x16
Wall, Alliance vertical - 99 Template:Sprite - 16x16
Wall, Alliance vertical damaged - 100 Template:Sprite - 16x16
Wall, Alliance vertical destroyed - 101 Template:Sprite - 16x16
Combat - 102 Template:Sprite - 16x16
Gate, yellow - 103 Template:Sprite - 16x16
Gate, yellow damaged - 104 Template:Sprite - 16x16
Gate, yellow destroyed - 105 Template:Sprite - 16x16
Gate, purple - 106 Template:Sprite - 16x16
Gate, purple damaged - 107 Template:Sprite - 16x16
Gate, purple destroyed - 108 Template:Sprite - 16x16
Gate, green - 109 Template:Sprite - 16x16
Gate, green damaged - 110 Template:Sprite - 16x16
Gate, green destroyed - 111 Template:Sprite - 16x16
White 0 - 112 Template:Sprite - 16x16
White 1 - 113 Template:Sprite - 16x16
White 2 - 114 Template:Sprite - 16x16
White 3 - 115 Template:Sprite - 16x16
White 4 - 116 Template:Sprite - 16x16
White 5 - 117 Template:Sprite - 16x16
White 6 - 118 Template:Sprite - 16x16
White 7 - 119 Template:Sprite - 16x16
White 8 - 120 Template:Sprite - 16x16
White 9 - 121 Template:Sprite - 16x16
White : - 122 Template:Sprite - 16x16
?, Horde - 123 Template:Sprite - 16x16
?, Horde damaged
- 124 Template:Sprite - 16x16
?, Horde destroyed - 125 Template:Sprite - 16x16
?, Alliance - 126 Template:Sprite - 16x16
?, Alliance damaged - 127 Template:Sprite - 16x16
?, Alliance destroyed - 128 Template:Sprite - 16x16
Tower, green - 129 Template:Sprite - 16x16
Tower, green damaged - 130 Template:Sprite - 16x16
Tower, green destroyed - 131 Template:Sprite - 16x16
Tower, yellow - 132 Template:Sprite - 16x16
Tower, yellow damaged - 133 Template:Sprite - 16x16
Tower, yellow destroyed - 134 Template:Sprite - 16x16
Skull, orange - 135 Template:Sprite - 16x16
Siege workshop - 136 Template:Sprite - 16x16
Siege workshop, Alliance - 137 Template:Sprite - 16x16
Siege workshop, Alliance assaulted - 138 Template:Sprite - 16x16
Siege workshop, Horde - 139 Template:Sprite - 16x16
Siege workshop, Horde assaulted - 140 Template:Sprite - 16x16
Hangar - 141 Template:Sprite - 16x16
Hangar, Alliance - 142 Template:Sprite - 16x16
Hangar, Alliance assaulted - 143 Template:Sprite - 16x16
Hangar, Horde - 144 Template:Sprite - 16x16
Hangar, Horde assaulted - 145 Template:Sprite - 16x16
Docks - 146 Template:Sprite - 16x16
Docks, Alliance - 147 Template:Sprite - 16x16
Docks, Alliance assaulted - 148 Template:Sprite - 16x16
Docks, Horde - 149 Template:Sprite - 16x16
Docks, Horde assaulted - 150 Template:Sprite - 16x16
Refinery - 151 Template:Sprite - 16x16
Refinery, Alliance - 152 Template:Sprite - 16x16
Refinery, Alliance assaulted - 153 Template:Sprite - 16x16
Refinery, Horde - 154 Template:Sprite - 16x16
Refinery, Horde assaulted