FANDOM


WoW API < GetMapLandmarkInfo

Returns the information about a landmark on the current world map.

name, description, textureId, x, y = GetMapLandmarkInfo(landmarkId)

Parameters Edit

Arguments Edit

Returns Edit

  • 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
  • textureId (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 cente, as a proportion of the current map's width, between 0 and 1
  • y (number) - The Y location of the landmark's center, as a proportion of the current map's height, between 0 and 1

Landmark texture and textureIDs Edit

Poiicons
Special
  • 0 - 16x16 Invisible
Mine
Other
  • 4 - 16x16 Graveyard
    Alliance assaulted
  • 5 - 16x16 Town
  • 6 - 16x16 City
  • 7 - 16x16 Flag
  • 8 - 16x16 Gravestone
Tower
  • 9 - 16x16 Alliance assaulted
  • 10 - 16x16 Horde
  • 11 - 16x16 Alliance
  • 12 - 16x16 Horde assaulted
Graveyard
  • 13 - 16x16 Horde
  • 14 - 16x16 Horde assaulted
  • 15 - 16x16 Alliance
  • 16 - 16x16
  • 17 - 16x16 Alliance assaulted
  • 18 - 16x16 Alliance
  • 19 - 16x16 Horde assaulted
Other
  • 20 - 16x16 Gold Mine Horde
Lumber Mill
  • 21 - 16x16
  • 22 - 16x16 Alliance assaulted
  • 23 - 16x16 Alliance
  • 24 - 16x16 Horde assaulted
  • 25 - 16x16 Horde
Blacksmith
  • 26 - 16x16
  • 27 - 16x16 Alliance assaulted
  • 28 - 16x16 Alliance
  • 29 - 16x16 Horde assaulted
  • 30 - 16x16 Horde
Farm
  • 31 - 16x16
  • 32 - 16x16 Alliance assaulted
  • 33 - 16x16 Alliance
  • 34 - 16x16 Horde assaulted
  • 35 - 16x16 Horde
Stables
  • 36 - 16x16 Neutral
  • 37 - 16x16 Alliance assaulted
  • 38 - 16x16 Alliance
  • 39 - 16x16 Horde assaulted
  • 40 - 16x16 Horde
Other
  • 41 - 16x16 Skull purple
  • 42 - 16x16 Unknown
Flag
  • 43 - 16x16 Alliance
  • 44 - 16x16 Horde
  • 45 - 16x16
Crest
  • 46 - 16x16 Alliance
  • 47 - 16x16 Alliance uncaptured
  • 48 - 16x16 Horde
  • 49 - 16x16 Horde uncaptured
Tower
  • 50 - 16x16 Alliance damaged
  • 51 - 16x16 Alliance destroyed
  • 52 - 16x16 Horde damaged
  • 53 - 16x16 Horde destroyed
  • 54 - 16x16 damged
  • 55 - 16x16 destroyed
Bridge
  • 56 - 16x16
  • 57 - 16x16 damaged
  • 58 - 16x16 destroyed
  • 59 - 16x16 Horde
  • 60 - 16x16 Horde damaged
  • 61 - 16x16 Horde destroyed
  • 62 - 16x16 Alliance
  • 63 - 16x16 Alliance damaged
  • 64 - 16x16 Alliance destroyed
Workshop
  • 65 - 16x16
  • 66 - 16x16 damaged
  • 67 - 16x16 destroyed
  • 68 - 16x16 Horde
  • 69 - 16x16 Horde damaged
  • 70 - 16x16 Horde destroyed
  • 71 - 16x16 Alliance
  • 72 - 16x16 Alliance damaged
  • 73 - 16x16 Alliance destroyed
Gate
  • 74 - 16x16
  • 75 - 16x16 damaged
  • 76 - 16x16 destroyed
  • 77 - 16x16 Horde
  • 78 - 16x16 Horde damaged
  • 79 - 16x16 Horde destroyed
  • 80 - 16x16 Alliance
  • 81 - 16x16 Alliance damaged
  • 82 - 16x16 Alliance destroyed
Wall horizontal
  • 83 - 16x16
  • 84 - 16x16 damaged
  • 85 - 16x16 destroyed
  • 86 - 16x16 Horde
  • 87 - 16x16 Horde damaged
  • 88 - 16x16 Horde destroyed
  • 89 - 16x16 Alliance
  • 90 - 16x16 Alliance damaged
  • 91 - 16x16 Alliance destroyed
Wall vertical
  • 92 - 16x16
  • 93 - 16x16 damaged
  • 94 - 16x16 destroyed
  • 95 - 16x16 Horde
  • 96 - 16x16 Horde damaged
  • 97 - 16x16 Horde destroyed
  • 98 - 16x16 Alliance
  • 99 - 16x16 Alliance damaged
  • 100 - 16x16 Alliance destroyed
Other
  • 101 - 16x16 Combat
Gate
  • 102 - 16x16 yellow
  • 103 - 16x16 yellow damaged
  • 104 - 16x16 yellow destroyed
  • 105 - 16x16 purple
  • 106 - 16x16 purple damaged
  • 107 - 16x16 purple destroyed
  • 108 - 16x16 green
  • 109 - 16x16 green damaged
  • 110 - 16x16 green destroyed
Numbers
  • 111 - 16x16 White 0
  • 112 - 16x16 White 1
  • 113 - 16x16 White 2
  • 114 - 16x16 White 3
  • 115 - 16x16 White 4
  • 116 - 16x16 White 5
  • 117 - 16x16 White 6
  • 118 - 16x16 White 7
  • 119 - 16x16 White 8
  • 120 - 16x16 White 9
  • 121 - 16x16 White :
Unknown
  • 122 - 16x16 Horde
  • 123 - 16x16 Horde damaged
  • 124 - 16x16 Horde destroyed
  • 125 - 16x16 Alliance
  • 126 - 16x16 Alliance damaged
  • 127 - 16x16 Alliance destroyed
Tower
  • 128 - 16x16 green
  • 129 - 16x16 green damaged
  • 130 - 16x16 green destroyed
  • 131 - 16x16 yellow
  • 132 - 16x16 yellow damaged
  • 133 - 16x16 yellow destroyed
Other
  • 134 - 16x16 Skull orange
Siege workshop
  • 135 - 16x16
  • 136 - 16x16 Alliance
  • 137 - 16x16 Alliance assaulted
  • 138 - 16x16 Horde
  • 139 - 16x16 Horde assaulted
Hangar
  • 140 - 16x16
  • 141 - 16x16 Alliance
  • 142 - 16x16 Alliance assaulted
  • 143 - 16x16 Horde
  • 144 - 16x16 Horde assaulted
Docks
  • 145 - 16x16
  • 146 - 16x16 Alliance
  • 147 - 16x16 Alliance assaulted
  • 148 - 16x16 Horde
  • 149 - 16x16 Horde assaulted
Refinery
  • 150 - 16x16
  • 151 - 16x16 Alliance
  • 152 - 16x16 Alliance assaulted
  • 153 - 16x16 Horde
  • 154 - 16x16 Horde assaulted

Notes Edit

  • 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.
Community content is available under CC-BY-SA unless otherwise noted.