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