FANDOM


Reference 
{{#vardefine:tTYPE|API}}{{#vardefine:tSTYPE|GetM}}{{#vardefine:tNAME|API GetMapLandmarkInfo}}{{#vardefine:tSTYPE|{{#var:tstype}}}}{{#vardefine:tFULLNAME|World of Warcraft API}}{{#vardefine:tPARENTNAME|WoW API}}
→ [[:Category:{{#var:tFULLNAME}}|{{#var:tPARENTNAME}}]]
[[Category:{{#var:tFULLNAME}}]]ru:Шаблон:WoWAPI
← [[{{#var:tFULLNAME}}|{{#var:tPARENTNAME}}]]

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.

ParametersEdit

ArgumentsEdit

landmarkIndex 
Number - Indicates which landmark to query (from 1 to GetNumMapLandmarks())

ReturnsEdit

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:
Number - The X location of the landmark's center (A proportion of the current map's width, between 0 and 1)
Number - The Y location of the landmark's center (A proportion of the current map's height, between 0 and 1)

Landmarks


  • 0 {{#vardefine:icon|

POI0 }} - 16x16
Invisible

  • 1 {{#vardefine:icon|

POI1 }} - 16x16
Mine

  • 2 {{#vardefine:icon|

POI2 }} - 16x16
Mine, Horde

  • 3 {{#vardefine:icon|

POI3 }} - 16x16
Mine, Alliance

  • 4 {{#vardefine:icon|

POI4 }} - 16x16
Graveyard, Alliance assaulted

  • 5 {{#vardefine:icon|

POI5 }} - 16x16
Town

  • 6 {{#vardefine:icon|

POI6 }} - 16x16
City

  • 7 {{#vardefine:icon|

POI7 }} - 16x16
Flag

  • 8 {{#vardefine:icon|

POI8 }} - 16x16
Gravestone

  • 9 {{#vardefine:icon|

POI9 }} - 16x16
Tower, Alliance assaulted

  • 10 {{#vardefine:icon|

POI10 }} - 16x16
Tower, Horde

  • 11 {{#vardefine:icon|

POI11 }} - 16x16
Tower, Alliance

  • 12 {{#vardefine:icon|

POI12 }} - 16x16
Tower, Horde assaulted

  • 13 {{#vardefine:icon|

POI13 }} - 16x16
Graveyard, Horde

  • 14 {{#vardefine:icon|

POI14 }} - 16x16
Graveyard, Horde assaulted

  • 15 {{#vardefine:icon|

POI15 }} - 16x16
Graveyard, Alliance

  • 16 {{#vardefine:icon|

POI16 }} - 16x16
Gold Mine

  • 17 {{#vardefine:icon|

POI17 }} - 16x16
Gold Mine, Alliance assaulted

  • 18 {{#vardefine:icon|

POI18 }} - 16x16
Gold Mine, Alliance

  • 19 {{#vardefine:icon|

POI19 }} - 16x16
Gold Mine, Horde assaulted

  • 20 {{#vardefine:icon|

POI20 }} - 16x16
Gold Mine, Horde

  • 21 {{#vardefine:icon|

POI21 }} - 16x16
Lumber Mill

  • 22 {{#vardefine:icon|

POI22 }} - 16x16
Lumber Mill, Alliance assaulted

  • 23 {{#vardefine:icon|

POI23 }} - 16x16
Lumber Mill, Alliance

  • 24 {{#vardefine:icon|

POI24 }} - 16x16
Lumber Mill, Horde assaulted

  • 25 {{#vardefine:icon|

POI25 }} - 16x16
Lumber Mill, Horde

  • 26 {{#vardefine:icon|

POI26 }} - 16x16
Blacksmith

  • 27 {{#vardefine:icon|

POI27 }} - 16x16
Blacksmith, Alliance assaulted

  • 28 {{#vardefine:icon|

POI28 }} - 16x16
Blacksmith, Alliance

  • 29 {{#vardefine:icon|

POI29 }} - 16x16
Blacksmith, Horde assaulted

  • 30 {{#vardefine:icon|

POI30 }} - 16x16
Blacksmith, Horde

  • 31 {{#vardefine:icon|

POI31 }} - 16x16
Farm

  • 32 {{#vardefine:icon|

POI32 }} - 16x16
Farm, Alliance assaulted

  • 33 {{#vardefine:icon|

POI33 }} - 16x16
Farm, Alliance

  • 34 {{#vardefine:icon|

POI34 }} - 16x16
Farm, Horde assaulted

  • 35 {{#vardefine:icon|

POI35 }} - 16x16
Farm, Horde

  • 36 {{#vardefine:icon|

POI36 }} - 16x16
Stables, neutral

  • 37 {{#vardefine:icon|

POI37 }} - 16x16
Stables, Alliance assaulted

  • 38 {{#vardefine:icon|

POI38 }} - 16x16
Stables, Alliance

  • 39 {{#vardefine:icon|

POI39 }} - 16x16
Stables, Horde assaulted

  • 40 {{#vardefine:icon|

POI40 }} - 16x16
Stables, Horde

  • 41 {{#vardefine:icon|

POI41 }} - 16x16
Skull, purple

  • 42 {{#vardefine:icon|

POI42 }} - 16x16
Unknown

  • 43 {{#vardefine:icon|

POI43 }} - 16x16
Flag, Alliance

  • 44 {{#vardefine:icon|

POI44 }} - 16x16
Flag, Horde

  • 45 {{#vardefine:icon|

POI45 }} - 16x16
Flag

  • 46 {{#vardefine:icon|

POI46 }} - 16x16
Alliance crest

  • 47 {{#vardefine:icon|

POI47 }} - 16x16
Alliance crest, uncaptured

  • 48 {{#vardefine:icon|

POI48 }} - 16x16
Horde crest

  • 49 {{#vardefine:icon|

POI49 }} - 16x16
Horde crest, uncaptured

  • 50 {{#vardefine:icon|

POI50 }} - 16x16
Tower, Alliance damaged

  • 51 {{#vardefine:icon|

POI51 }} - 16x16
Tower, Alliance destroyed

  • 52 {{#vardefine:icon|

POI52 }} - 16x16
Tower, Horde damaged

  • 53 {{#vardefine:icon|

POI53 }} - 16x16
Tower, Horde destroyed

  • 54 {{#vardefine:icon|

POI54 }} - 16x16
Tower, damged

  • 55 {{#vardefine:icon|

POI55 }} - 16x16
Tower, destroyed

  • 56 {{#vardefine:icon|

POI56 }} - 16x16
Bridge

  • 57 {{#vardefine:icon|

POI57 }} - 16x16
Bridge, damaged

  • 58 {{#vardefine:icon|

POI58 }} - 16x16
Bridge, destroyed

  • 59 {{#vardefine:icon|

POI59 }} - 16x16
Bridge, Horde

  • 60 {{#vardefine:icon|

POI60 }} - 16x16
Bridge, Horde damaged

  • 61 {{#vardefine:icon|

POI61 }} - 16x16
Bridge, Horde destroyed

  • 62 {{#vardefine:icon|

POI62 }} - 16x16
Bridge, Alliance

  • 63 {{#vardefine:icon|

POI63 }} - 16x16
Bridge, Alliance damaged

  • 64 {{#vardefine:icon|

POI64 }} - 16x16
Bridge, Alliance destroyed

  • 65 {{#vardefine:icon|

POI65 }} - 16x16
Workshop

  • 66 {{#vardefine:icon|

POI66 }} - 16x16
Workshop, damaged

  • 67 {{#vardefine:icon|

POI67 }} - 16x16
Workshop, destroyed

  • 68 {{#vardefine:icon|

POI68 }} - 16x16
Workshop, Horde

  • 69 {{#vardefine:icon|

POI69 }} - 16x16
Workshop, Horde damaged

  • 70 {{#vardefine:icon|

POI70 }} - 16x16
Workshop, Horde destroyed

  • 71 {{#vardefine:icon|

POI71 }} - 16x16
Workshop, Alliance

  • 72 {{#vardefine:icon|

POI72 }} - 16x16
Workshop, Alliance damaged

  • 73 {{#vardefine:icon|

POI73 }} - 16x16
Workshop, Alliance destroyed

  • 74 {{#vardefine:icon|

POI74 }} - 16x16
Gate

  • 75 {{#vardefine:icon|

POI75 }} - 16x16
Gate, damaged

  • 76 {{#vardefine:icon|

POI76 }} - 16x16
Gate, destroyed

  • 77 {{#vardefine:icon|

POI77 }} - 16x16
Gate, Horde

  • 78 {{#vardefine:icon|

POI78 }} - 16x16
Gate, Horde damaged

  • 79 {{#vardefine:icon|

POI79 }} - 16x16
Gate, Horde destroyed

  • 80 {{#vardefine:icon|

POI80 }} - 16x16
Gate, Alliance

  • 81 {{#vardefine:icon|

POI81 }} - 16x16
Gate, Alliance damaged

  • 82 {{#vardefine:icon|

POI82 }} - 16x16
Gate, Alliance destroyed

  • 83 {{#vardefine:icon|

POI83 }} - 16x16
Wall, horizontal

  • 84 {{#vardefine:icon|

POI84 }} - 16x16
Wall, horizontal damaged

  • 85 {{#vardefine:icon|

POI85 }} - 16x16
Wall, horizontal destroyed

  • 86 {{#vardefine:icon|

POI86 }} - 16x16
Wall, Horde horizontal

  • 87 {{#vardefine:icon|

POI87 }} - 16x16
Wall, Horde horizontal damaged

  • 88 {{#vardefine:icon|

POI88 }} - 16x16
Wall, Horde horizontal destroyed

  • 89 {{#vardefine:icon|

POI89 }} - 16x16
Wall, Alliance horizontal

  • 90 {{#vardefine:icon|

POI90 }} - 16x16
Wall, Alliance horizontal damaged

  • 91 {{#vardefine:icon|

POI91 }} - 16x16
Wall, Alliance horizontal destroyed

  • 92 {{#vardefine:icon|

POI92 }} - 16x16
Wall, vertical

  • 93 {{#vardefine:icon|

POI93 }} - 16x16
Wall, vertical damaged

  • 94 {{#vardefine:icon|

POI94 }} - 16x16
Wall, vertical destroyed

  • 95 {{#vardefine:icon|

POI95 }} - 16x16
Wall, Horde vertical

  • 96 {{#vardefine:icon|

POI96 }} - 16x16
Wall, Horde vertical damaged

  • 97 {{#vardefine:icon|

POI97 }} - 16x16
Wall, Horde vertical destroyed

  • 98 {{#vardefine:icon|

POI98 }} - 16x16
Wall, Alliance vertical

  • 99 {{#vardefine:icon|

POI99 }} - 16x16
Wall, Alliance vertical damaged

  • 100 {{#vardefine:icon|

POI100 }} - 16x16
Wall, Alliance vertical destroyed

  • 101 {{#vardefine:icon|

POI101 }} - 16x16
Combat

  • 102 {{#vardefine:icon|

POI102 }} - 16x16
Gate, yellow

  • 103 {{#vardefine:icon|

POI103 }} - 16x16
Gate, yellow damaged

  • 104 {{#vardefine:icon|

POI104 }} - 16x16
Gate, yellow destroyed

  • 105 {{#vardefine:icon|

POI105 }} - 16x16
Gate, purple

  • 106 {{#vardefine:icon|

POI106 }} - 16x16
Gate, purple damaged

  • 107 {{#vardefine:icon|

POI107 }} - 16x16
Gate, purple destroyed

  • 108 {{#vardefine:icon|

POI108 }} - 16x16
Gate, green

  • 109 {{#vardefine:icon|

POI109 }} - 16x16
Gate, green damaged

  • 110 {{#vardefine:icon|

POI110 }} - 16x16
Gate, green destroyed

  • 111 {{#vardefine:icon|

POI111 }} - 16x16
White 0

  • 112 {{#vardefine:icon|

POI112 }} - 16x16
White 1

  • 113 {{#vardefine:icon|

POI113 }} - 16x16
White 2

  • 114 {{#vardefine:icon|

POI114 }} - 16x16
White 3

  • 115 {{#vardefine:icon|

POI115 }} - 16x16
White 4

  • 116 {{#vardefine:icon|

POI116 }} - 16x16
White 5

  • 117 {{#vardefine:icon|

POI117 }} - 16x16
White 6

  • 118 {{#vardefine:icon|

POI118 }} - 16x16
White 7

  • 119 {{#vardefine:icon|

POI119 }} - 16x16
White 8

  • 120 {{#vardefine:icon|

POI120 }} - 16x16
White 9

  • 121 {{#vardefine:icon|

POI121 }} - 16x16
White :

  • 122 {{#vardefine:icon|

POI122 }} - 16x16
?, Horde

  • 123 {{#vardefine:icon|

POI123 }} - 16x16
?, Horde damaged

  • 124 {{#vardefine:icon|

POI124 }} - 16x16
?, Horde destroyed

  • 125 {{#vardefine:icon|

POI125 }} - 16x16
?, Alliance

  • 126 {{#vardefine:icon|

POI126 }} - 16x16
?, Alliance damaged

  • 127 {{#vardefine:icon|

POI127 }} - 16x16
?, Alliance destroyed

  • 128 {{#vardefine:icon|

POI128 }} - 16x16
Tower, green

  • 129 {{#vardefine:icon|

POI129 }} - 16x16
Tower, green damaged

  • 130 {{#vardefine:icon|

POI130 }} - 16x16
Tower, green destroyed

  • 131 {{#vardefine:icon|

POI131 }} - 16x16
Tower, yellow

  • 132 {{#vardefine:icon|

POI132 }} - 16x16
Tower, yellow damaged

  • 133 {{#vardefine:icon|

POI133 }} - 16x16
Tower, yellow destroyed

  • 134 {{#vardefine:icon|

POI134 }} - 16x16
Skull, orange

  • 135 {{#vardefine:icon|

POI135 }} - 16x16
Siege workshop

  • 136 {{#vardefine:icon|

POI136 }} - 16x16
Siege workshop, Alliance

  • 137 {{#vardefine:icon|

POI137 }} - 16x16
Siege workshop, Alliance assaulted

  • 138 {{#vardefine:icon|

POI138 }} - 16x16
Siege workshop, Horde

  • 139 {{#vardefine:icon|

POI139 }} - 16x16
Siege workshop, Horde assaulted

  • 140 {{#vardefine:icon|

POI140 }} - 16x16
Hangar

  • 141 {{#vardefine:icon|

POI141 }} - 16x16
Hangar, Alliance

  • 142 {{#vardefine:icon|

POI142 }} - 16x16
Hangar, Alliance assaulted

  • 143 {{#vardefine:icon|

POI143 }} - 16x16
Hangar, Horde

  • 144 {{#vardefine:icon|

POI144 }} - 16x16
Hangar, Horde assaulted

  • 145 {{#vardefine:icon|

POI145 }} - 16x16
Docks

  • 146 {{#vardefine:icon|

POI146 }} - 16x16
Docks, Alliance

  • 147 {{#vardefine:icon|

POI147 }} - 16x16
Docks, Alliance assaulted

  • 148 {{#vardefine:icon|

POI148 }} - 16x16
Docks, Horde

  • 149 {{#vardefine:icon|

POI149 }} - 16x16
Docks, Horde assaulted

  • 150 {{#vardefine:icon|

POI150 }} - 16x16
Refinery

  • 151 {{#vardefine:icon|

POI151 }} - 16x16
Refinery, Alliance

  • 152 {{#vardefine:icon|

POI152 }} - 16x16
Refinery, Alliance assaulted

  • 153 {{#vardefine:icon|

POI153 }} - 16x16
Refinery, Horde

  • 154 {{#vardefine:icon|

POI154 }} - 16x16
Refinery, Horde assaulted

ru:API GetMapLandmarkInfo

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.