Gaming
 

API GetMapLandmarkInfo

From WoWWiki

Main Menu


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.

Contents

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:
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

POIIcons.blp, Landmarks for API GetMapLandmarkInfo.
  • 0 File:IconSmall POI0.png - 16x16
    Invisible
  • 1 File:IconSmall POI1.png - 16x16
    Mine
  • 2 File:IconSmall POI2.png - 16x16
    Mine, Horde
  • 3 File:IconSmall POI3.png - 16x16
    Mine, Alliance
  • 4 File:IconSmall POI4.png - 16x16
    Graveyard, Alliance assaulted
  • 5 File:IconSmall POI5.png - 16x16
    Town
  • 6 File:IconSmall POI6.png - 16x16
    City
  • 7 File:IconSmall POI7.png - 16x16
    Flag
  • 8 File:IconSmall POI8.png - 16x16
    Gravestone
  • 9 File:IconSmall POI9.png - 16x16
    Tower, Alliance assaulted
  • 10 File:IconSmall POI10.png - 16x16
    Tower, Horde
  • 11 File:IconSmall POI11.png - 16x16
    Tower, Alliance
  • 12 File:IconSmall POI12.png - 16x16
    Tower, Horde assaulted
  • 13 File:IconSmall POI13.png - 16x16
    Graveyard, Horde
  • 14 File:IconSmall POI14.png - 16x16
    Graveyard, Horde assaulted
  • 15 File:IconSmall POI15.png - 16x16
    Graveyard, Alliance
  • 16 File:IconSmall POI16.png - 16x16
    Gold Mine
  • 17 File:IconSmall POI17.png - 16x16
    Gold Mine, Alliance assaulted
  • 18 File:IconSmall POI18.png - 16x16
    Gold Mine, Alliance
  • 19 File:IconSmall POI19.png - 16x16
    Gold Mine, Horde assaulted
  • 20 File:IconSmall POI20.png - 16x16
    Gold Mine, Horde
  • 21 File:IconSmall POI21.png - 16x16
    Lumber Mill
  • 22 File:IconSmall POI22.png - 16x16
    Lumber Mill, Alliance assaulted
  • 23 File:IconSmall POI23.png - 16x16
    Lumber Mill, Alliance
  • 24 File:IconSmall POI24.png - 16x16
    Lumber Mill, Horde assaulted
  • 25 File:IconSmall POI25.png - 16x16
    Lumber Mill, Horde
  • 26 File:IconSmall POI26.png - 16x16
    Blacksmith
  • 27 File:IconSmall POI27.png - 16x16
    Blacksmith, Alliance assaulted
  • 28 File:IconSmall POI28.png - 16x16
    Blacksmith, Alliance
  • 29 File:IconSmall POI29.png - 16x16
    Blacksmith, Horde assaulted
  • 30 File:IconSmall POI30.png - 16x16
    Blacksmith, Horde
  • 31 File:IconSmall POI31.png - 16x16
    Farm
  • 32 File:IconSmall POI32.png - 16x16
    Farm, Alliance assaulted
  • 33 File:IconSmall POI33.png - 16x16
    Farm, Alliance
  • 34 File:IconSmall POI34.png - 16x16
    Farm, Horde assaulted
  • 35 File:IconSmall POI35.png - 16x16
    Farm, Horde
  • 36 File:IconSmall POI36.png - 16x16
    Stables, neutral
  • 37 File:IconSmall POI37.png - 16x16
    Stables, Alliance assaulted
  • 38 File:IconSmall POI38.png - 16x16
    Stables, Alliance
  • 39 File:IconSmall POI39.png - 16x16
    Stables, Horde assaulted
  • 40 File:IconSmall POI40.png - 16x16
    Stables, Horde
  • 41 File:IconSmall POI41.png - 16x16
    Skull, purple
  • 42 File:IconSmall POI42.png - 16x16
    Unknown
  • 43 File:IconSmall POI43.png - 16x16
    Flag, Alliance
  • 44 File:IconSmall POI44.png - 16x16
    Flag, Horde
  • 45 File:IconSmall POI45.png - 16x16
    Flag
  • 46 File:IconSmall POI46.png - 16x16
    Alliance crest
  • 47 File:IconSmall POI47.png - 16x16
    Alliance crest, uncaptured
  • 48 File:IconSmall POI48.png - 16x16
    Horde crest
  • 49 File:IconSmall POI49.png - 16x16
    Horde crest, uncaptured
  • 50 File:IconSmall POI50.png - 16x16
    Tower, Alliance damaged
  • 51 File:IconSmall POI51.png - 16x16
    Tower, Alliance destroyed
  • 52 File:IconSmall POI52.png - 16x16
    Tower, Horde damaged
  • 53 File:IconSmall POI53.png - 16x16
    Tower, Horde destroyed
  • 54 File:IconSmall POI54.png - 16x16
    Tower, damged
  • 55 File:IconSmall POI55.png - 16x16
    Tower, destroyed
  • 56 File:IconSmall POI56.png - 16x16
    Bridge
  • 57 File:IconSmall POI57.png - 16x16
    Bridge, damaged
  • 58 File:IconSmall POI58.png - 16x16
    Bridge, destroyed
  • 59 File:IconSmall POI59.png - 16x16
    Bridge, Horde
  • 60 File:IconSmall POI60.png - 16x16
    Bridge, Horde damaged
  • 61 File:IconSmall POI61.png - 16x16
    Bridge, Horde destroyed
  • 62 File:IconSmall POI62.png - 16x16
    Bridge, Alliance
  • 63 File:IconSmall POI63.png - 16x16
    Bridge, Alliance damaged
  • 64 File:IconSmall POI64.png - 16x16
    Bridge, Alliance destroyed
  • 65 File:IconSmall POI65.png - 16x16
    Workshop
  • 66 File:IconSmall POI66.png - 16x16
    Workshop, damaged
  • 67 File:IconSmall POI67.png - 16x16
    Workshop, destroyed
  • 68 File:IconSmall POI68.png - 16x16
    Workshop, Horde
  • 69 File:IconSmall POI69.png - 16x16
    Workshop, Horde damaged
  • 70 File:IconSmall POI70.png - 16x16
    Workshop, Horde destroyed
  • 71 File:IconSmall POI71.png - 16x16
    Workshop, Alliance
  • 72 File:IconSmall POI72.png - 16x16
    Workshop, Alliance damaged
  • 73 File:IconSmall POI73.png - 16x16
    Workshop, Alliance destroyed
  • 74 File:IconSmall POI74.png - 16x16
    Gate
  • 75 File:IconSmall POI75.png - 16x16
    Gate, damaged
  • 76 File:IconSmall POI76.png - 16x16
    Gate, destroyed
  • 77 File:IconSmall POI77.png - 16x16
    Gate, Horde
  • 78 File:IconSmall POI78.png - 16x16
    Gate, Horde damaged
  • 79 File:IconSmall POI79.png - 16x16
    Gate, Horde destroyed
  • 80 File:IconSmall POI80.png - 16x16
    Gate, Alliance
  • 81 File:IconSmall POI81.png - 16x16
    Gate, Alliance damaged
  • 82 File:IconSmall POI82.png - 16x16
    Gate, Alliance destroyed
  • 83 File:IconSmall POI83.png - 16x16
    Wall, horizontal
  • 84 File:IconSmall POI84.png - 16x16
    Wall, horizontal damaged
  • 85 File:IconSmall POI85.png - 16x16
    Wall, horizontal destroyed
  • 86 File:IconSmall POI86.png - 16x16
    Wall, Horde horizontal
  • 87 File:IconSmall POI87.png - 16x16
    Wall, Horde horizontal damaged
  • 88 File:IconSmall POI88.png - 16x16
    Wall, Horde horizontal destroyed
  • 89 File:IconSmall POI89.png - 16x16
    Wall, Alliance horizontal
  • 90 File:IconSmall POI90.png - 16x16
    Wall, Alliance horizontal damaged
  • 91 File:IconSmall POI91.png - 16x16
    Wall, Alliance horizontal destroyed
  • 92 File:IconSmall POI92.png - 16x16
    Wall, vertical
  • 93 File:IconSmall POI93.png - 16x16
    Wall, vertical damaged
  • 94 File:IconSmall POI94.png - 16x16
    Wall, vertical destroyed
  • 95 File:IconSmall POI95.png - 16x16
    Wall, Horde vertical
  • 96 File:IconSmall POI96.png - 16x16
    Wall, Horde vertical damaged
  • 97 File:IconSmall POI97.png - 16x16
    Wall, Horde vertical destroyed
  • 98 File:IconSmall POI98.png - 16x16
    Wall, Alliance vertical
  • 99 File:IconSmall POI99.png - 16x16
    Wall, Alliance vertical damaged
  • 100 File:IconSmall POI100.png - 16x16
    Wall, Alliance vertical destroyed
  • 101 File:IconSmall POI101.png - 16x16
    Combat
  • 102 File:IconSmall POI102.png - 16x16
    Gate, yellow
  • 103 File:IconSmall POI103.png - 16x16
    Gate, yellow damaged
  • 104 File:IconSmall POI104.png - 16x16
    Gate, yellow destroyed
  • 105 File:IconSmall POI105.png - 16x16
    Gate, purple
  • 106 File:IconSmall POI106.png - 16x16
    Gate, purple damaged
  • 107 File:IconSmall POI107.png - 16x16
    Gate, purple destroyed
  • 108 File:IconSmall POI108.png - 16x16
    Gate, green
  • 109 File:IconSmall POI109.png - 16x16
    Gate, green damaged
  • 110 File:IconSmall POI110.png - 16x16
    Gate, green destroyed
  • 111 File:IconSmall POI111.png - 16x16
    White 0
  • 112 File:IconSmall POI112.png - 16x16
    White 1
  • 113 File:IconSmall POI113.png - 16x16
    White 2
  • 114 File:IconSmall POI114.png - 16x16
    White 3
  • 115 File:IconSmall POI115.png - 16x16
    White 4
  • 116 File:IconSmall POI116.png - 16x16
    White 5
  • 117 File:IconSmall POI117.png - 16x16
    White 6
  • 118 File:IconSmall POI118.png - 16x16
    White 7
  • 119 File:IconSmall POI119.png - 16x16
    White 8
  • 120 File:IconSmall POI120.png - 16x16
    White 9
  • 121 File:IconSmall POI121.png - 16x16
    White :
  • 122 File:IconSmall POI122.png - 16x16
    ?, Horde
  • 123 File:IconSmall POI123.png - 16x16
    ?, Horde damaged
  • 124 File:IconSmall POI124.png - 16x16
    ?, Horde destroyed
  • 125 File:IconSmall POI125.png - 16x16
    ?, Alliance
  • 126 File:IconSmall POI126.png - 16x16
    ?, Alliance damaged
  • 127 File:IconSmall POI127.png - 16x16
    ?, Alliance destroyed
  • 128 File:IconSmall POI128.png - 16x16
    Tower, green
  • 129 File:IconSmall POI129.png - 16x16
    Tower, green damaged
  • 130 File:IconSmall POI130.png - 16x16
    Tower, green destroyed
  • 131 File:IconSmall POI131.png - 16x16
    Tower, yellow
  • 132 File:IconSmall POI132.png - 16x16
    Tower, yellow damaged
  • 133 File:IconSmall POI133.png - 16x16
    Tower, yellow destroyed
  • 134 File:IconSmall POI134.png - 16x16
    Skull, orange
  • 135 File:IconSmall POI135.png - 16x16
    Siege workshop
  • 136 File:IconSmall POI136.png - 16x16
    Siege workshop, Alliance
  • 137 File:IconSmall POI137.png - 16x16
    Siege workshop, Alliance assaulted
  • 138 File:IconSmall POI138.png - 16x16
    Siege workshop, Horde
  • 139 File:IconSmall POI139.png - 16x16
    Siege workshop, Horde assaulted
  • 140 File:IconSmall POI140.png - 16x16
    Hangar
  • 141 File:IconSmall POI141.png - 16x16
    Hangar, Alliance
  • 142 File:IconSmall POI142.png - 16x16
    Hangar, Alliance assaulted
  • 143 File:IconSmall POI143.png - 16x16
    Hangar, Horde
  • 144 File:IconSmall POI144.png - 16x16
    Hangar, Horde assaulted
  • 145 File:IconSmall POI145.png - 16x16
    Docks
  • 146 File:IconSmall POI146.png - 16x16
    Docks, Alliance
  • 147 File:IconSmall POI147.png - 16x16
    Docks, Alliance assaulted
  • 148 File:IconSmall POI148.png - 16x16
    Docks, Horde
  • 149 File:IconSmall POI149.png - 16x16
    Docks, Horde assaulted
  • 150 File:IconSmall POI150.png - 16x16
    Refinery
  • 151 File:IconSmall POI151.png - 16x16
    Refinery, Alliance
  • 152 File:IconSmall POI152.png - 16x16
    Refinery, Alliance assaulted
  • 153 File:IconSmall POI153.png - 16x16
    Refinery, Horde
  • 154 File:IconSmall POI154.png - 16x16
    Refinery, Horde assaulted