WoW:API GetMapLandmarkInfo: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
(these are bridges... dunno what the other unknowns are)
Line 1: Line 1:
{{Template:Outdated|reason=The article needs WotLK updates}}
{{wowapi}}  
{{wowapi}} __NOTOC__
Returns the information about a landmark on the current world map.
Returns the information about a landmark on the current world map.
  name, description, textureIndex, x, y = GetMapLandmarkInfo(landmarkIndex);
  name, description, textureIndex, x, y = GetMapLandmarkInfo(landmarkIndex);
Line 13: Line 12:
:;name : String - The name of the landmark
:;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.
:;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 <tt>Interface\Minimap\POIIcons.blp</tt>, in an 16x16 grid (each icon is 16x16).  Values are:
:;textureIndex : Number - An index representing which landmark icon to display. These icons are in <tt>Interface\Minimap\POIIcons.blp</tt>, in an 16x16 grid (each icon is 16x16).  Values are listed in the Landmarks section, below:
[[Image:POIIcons.png|frame|POIIcons.blp]]
::: <span style="visibility:hidden">0</span>0 &mdash; Invisible (There's a number of these on zoomed in maps that don't get displayed.)
::: <span style="visibility:hidden">0</span>1 [[Image:IconSmall_POI0.png]] Mine, neutral
::: <span style="visibility:hidden">0</span>2 [[Image:IconSmall_POI1.png]] Mine, held by [[Horde]]
::: <span style="visibility:hidden">0</span>3 [[Image:IconSmall_POI2.png]] Mine, held by [[Alliance]]
::: <span style="visibility:hidden">0</span>4 [[Image:IconSmall_POI3.png]] Graveyard, assaulted by Alliance
::: <span style="visibility:hidden">0</span>5 [[Image:IconSmall_POI4.png]] Town
::: <span style="visibility:hidden">0</span>6 [[Image:IconSmall_POI5.png]] City
::: <span style="visibility:hidden">0</span>7 [[Image:IconSmall_POI6.png]] Flag (Shown when you ask a town guard for directions.)
::: <span style="visibility:hidden">0</span>8 [[Image:IconSmall_POI7.png]] Player corpse marker
::: <span style="visibility:hidden">0</span>9 [[Image:IconSmall_POI8.png]] Tower, assaulted by Alliance
::: 10 [[Image:IconSmall_POI9.png]] Tower, held by Horde
::: 11 [[Image:IconSmall_POI10.png]] Tower, held by Alliance
::: 12 [[Image:IconSmall_POI11.png]] Tower, assaulted by Horde
::: 13 [[Image:IconSmall_POI12.png]] Graveyard, held by Horde
::: 14 [[Image:IconSmall_POI13.png]] Graveyard, assaulted by Horde
::: 15 [[Image:IconSmall_POI14.png]] Graveyard, held by Alliance
::: 16 [[Image:IconSmall_POI16.png]] Gold Mine, neutral
::: 17 [[Image:IconSmall_POI17.png]] Gold Mine, assaulted by Alliance
::: 18 [[Image:IconSmall_POI18.png]] Gold Mine, held by Alliance
::: 19 [[Image:IconSmall_POI19.png]] Gold Mine, assaulted by Horde
::: 20 [[Image:IconSmall_POI20.png]] Gold Mine, held by Horde
::: 21 [[Image:IconSmall_POI21.png]] Lumber Mill, neutral
::: 22 [[Image:IconSmall_POI22.png]] Lumber Mill, assaulted by Alliance
::: 23 [[Image:IconSmall_POI23.png]] Lumber Mill, held by Alliance
::: 24 [[Image:IconSmall_POI24.png]] Lumber Mill, assaulted by Horde
::: 25 [[Image:IconSmall_POI25.png]] Lumber Mill, held by Horde
::: 26 [[Image:IconSmall_POI26.png]] Blacksmith, neutral
::: 27 [[Image:IconSmall_POI27.png]] Blacksmith, assaulted by Alliance
::: 28 [[Image:IconSmall_POI28.png]] Blacksmith, held by Alliance
::: 29 [[Image:IconSmall_POI29.png]] Blacksmith, assaulted by Horde
::: 30 [[Image:IconSmall_POI30.png]] Blacksmith, held by Horde
::: 31 [[Image:IconSmall_POI31.png]] Farm, neutral
::: 32 [[Image:IconSmall_POI32.png]] Farm, assaulted by Alliance
::: 33 [[Image:IconSmall_POI33.png]] Farm, held by Alliance
::: 34 [[Image:IconSmall_POI34.png]] Farm, assaulted by Horde
::: 35 [[Image:IconSmall_POI35.png]] Farm, held by Horde
::: 36 [[Image:IconSmall_POI36.png]] Stables, neutral
::: 37 [[Image:IconSmall_POI37.png]] Stables, assaulted by Alliance
::: 38 [[Image:IconSmall_POI38.png]] Stables, held by Alliance
::: 39 [[Image:IconSmall_POI39.png]] Stables, assaulted by Horde
::: 40 [[Image:IconSmall_POI40.png]] Stables, held by Horde
::: 41 [[Image:IconSmall_POI41.png]] Scourge invasion - Necropolis
::: 42 [[Image:IconSmall_POI42.png]] Unknown
::: 43 [[Image:IconSmall_POI43.png]] Alliance Flag
::: 44 [[Image:IconSmall_POI44.png]] Horde Flag
::: 45 [[Image:IconSmall_POI45.png]] Uncaptured Flag
::: 46 [[Image:IconSmall_POI46.png]] Alliance Crest
::: 47 [[Image:IconSmall_POI47.png]] Uncaptured Alliance Crest
::: 48 [[Image:IconSmall_POI48.png]] Horde Crest
::: 49 [[Image:IconSmall_POI49.png]] Uncaptured Horde Crest
::: 50-102 &mdash; Currently unused/unknown. Assumed to be for new content in WotLK
 
:;x : Number - The X location of the landmark's center (A proportion of the current map's width, between 0 and 1)
:;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)
:;y : Number - The Y location of the landmark's center (A proportion of the current map's height, between 0 and 1)
<onlyinclude>=== Landmarks ===
{| cellpadding="0" cellspacing="0"
|-
|align="center" colspan="5" valign="top" width="80%"|
''Landmarks for [[API GetMapLandmarkInfo]].''
;[[Image:POIIcons.png|center|frame|POIIcons.blp]]
|-
|valign="top" width="20%"|
* 0 [[File:IconSmall POI0.png]] - 16x16 <br/><span style="font-size:x-small;">Invisible</span>
* 1 [[File:IconSmall POI1.png]] - 16x16 <br/><span style="font-size:x-small;">Mine</span>
* 2 [[File:IconSmall POI2.png]] - 16x16 <br/><span style="font-size:x-small;">Mine, [[Horde]]</span>
* 3 [[File:IconSmall POI3.png]] - 16x16 <br/><span style="font-size:x-small;">Mine, [[Alliance]]</span>
* 4 [[File:IconSmall POI4.png]] - 16x16 <br/><span style="font-size:x-small;">Graveyard, Alliance assaulted</span>
* 5 [[File:IconSmall POI5.png]] - 16x16 <br/><span style="font-size:x-small;">Town</span>
* 6 [[File:IconSmall POI6.png]] - 16x16 <br/><span style="font-size:x-small;">City</span>
* 7 [[File:IconSmall POI7.png]] - 16x16 <br/><span style="font-size:x-small;">Flag</span>
* 8 [[File:IconSmall POI8.png]] - 16x16 <br/><span style="font-size:x-small;">Gravestone</span>
* 9 [[File:IconSmall POI9.png]] - 16x16 <br/><span style="font-size:x-small;">Tower, Alliance assaulted</span>
* 10 [[File:IconSmall POI10.png]] - 16x16 <br/><span style="font-size:x-small;">Tower, Horde</span>
* 11 [[File:IconSmall POI11.png]] - 16x16 <br/><span style="font-size:x-small;">Tower, Alliance</span>
* 12 [[File:IconSmall POI12.png]] - 16x16 <br/><span style="font-size:x-small;">Tower, Horde assaulted</span>
* 13 [[File:IconSmall POI13.png]] - 16x16 <br/><span style="font-size:x-small;">Graveyard, Horde</span>
* 14 [[File:IconSmall POI14.png]] - 16x16 <br/><span style="font-size:x-small;">Graveyard, Horde assaulted</span>
* 15 [[File:IconSmall POI15.png]] - 16x16 <br/><span style="font-size:x-small;">Graveyard, Alliance</span>
* 16 [[File:IconSmall POI16.png]] - 16x16 <br/><span style="font-size:x-small;">Gold Mine</span>
* 17 [[File:IconSmall POI17.png]] - 16x16 <br/><span style="font-size:x-small;">Gold Mine, Alliance assaulted</span>
* 18 [[File:IconSmall POI18.png]] - 16x16 <br/><span style="font-size:x-small;">Gold Mine, Alliance</span>
* 19 [[File:IconSmall POI19.png]] - 16x16 <br/><span style="font-size:x-small;">Gold Mine, Horde assaulted</span>
* 20 [[File:IconSmall POI20.png]] - 16x16 <br/><span style="font-size:x-small;">Gold Mine, Horde</span>
* 21 [[File:IconSmall POI21.png]] - 16x16 <br/><span style="font-size:x-small;">Lumber Mill</span>
* 22 [[File:IconSmall POI22.png]] - 16x16 <br/><span style="font-size:x-small;">Lumber Mill, Alliance assaulted</span>
* 23 [[File:IconSmall POI23.png]] - 16x16 <br/><span style="font-size:x-small;">Lumber Mill, Alliance</span>
* 24 [[File:IconSmall POI24.png]] - 16x16 <br/><span style="font-size:x-small;">Lumber Mill, Horde assaulted</span>
* 25 [[File:IconSmall POI25.png]] - 16x16 <br/><span style="font-size:x-small;">Lumber Mill, Horde</span>
* 26 [[File:IconSmall POI26.png]] - 16x16 <br/><span style="font-size:x-small;">Blacksmith</span>
* 27 [[File:IconSmall POI27.png]] - 16x16 <br/><span style="font-size:x-small;">Blacksmith, Alliance assaulted</span>
* 28 [[File:IconSmall POI28.png]] - 16x16 <br/><span style="font-size:x-small;">Blacksmith, Alliance</span>
* 29 [[File:IconSmall POI29.png]] - 16x16 <br/><span style="font-size:x-small;">Blacksmith, Horde assaulted</span>
* 30 [[File:IconSmall POI30.png]] - 16x16 <br/><span style="font-size:x-small;">Blacksmith, Horde</span>
|valign="top" width="20%"|
* 31 [[File:IconSmall POI31.png]] - 16x16 <br/><span style="font-size:x-small;">Farm</span>
* 32 [[File:IconSmall POI32.png]] - 16x16 <br/><span style="font-size:x-small;">Farm, Alliance assaulted</span>
* 33 [[File:IconSmall POI33.png]] - 16x16 <br/><span style="font-size:x-small;">Farm, Alliance</span>
* 34 [[File:IconSmall POI34.png]] - 16x16 <br/><span style="font-size:x-small;">Farm, Horde assaulted</span>
* 35 [[File:IconSmall POI35.png]] - 16x16 <br/><span style="font-size:x-small;">Farm, Horde</span>
* 36 [[File:IconSmall POI36.png]] - 16x16 <br/><span style="font-size:x-small;">Stables, neutral</span>
* 37 [[File:IconSmall POI37.png]] - 16x16 <br/><span style="font-size:x-small;">Stables, Alliance assaulted</span>
* 38 [[File:IconSmall POI38.png]] - 16x16 <br/><span style="font-size:x-small;">Stables, Alliance</span>
* 39 [[File:IconSmall POI39.png]] - 16x16 <br/><span style="font-size:x-small;">Stables, Horde assaulted</span>
* 40 [[File:IconSmall POI40.png]] - 16x16 <br/><span style="font-size:x-small;">Stables, Horde</span>
* 41 [[File:IconSmall POI41.png]] - 16x16 <br/><span style="font-size:x-small;">Skull, purple</span>
* 42 [[File:IconSmall POI42.png]] - 16x16 <br/><span style="font-size:x-small;">Unknown</span>
* 43 [[File:IconSmall POI43.png]] - 16x16 <br/><span style="font-size:x-small;">Flag, Alliance</span>
* 44 [[File:IconSmall POI44.png]] - 16x16 <br/><span style="font-size:x-small;">Flag, Horde</span>
* 45 [[File:IconSmall POI45.png]] - 16x16 <br/><span style="font-size:x-small;">Flag</span>
* 46 [[File:IconSmall POI46.png]] - 16x16 <br/><span style="font-size:x-small;">Alliance crest</span>
* 47 [[File:IconSmall POI47.png]] - 16x16 <br/><span style="font-size:x-small;">Alliance crest, uncaptured</span>
* 48 [[File:IconSmall POI48.png]] - 16x16 <br/><span style="font-size:x-small;">Horde crest</span>
* 49 [[File:IconSmall POI49.png]] - 16x16 <br/><span style="font-size:x-small;">Horde crest, uncaptured</span>
* 50 [[File:IconSmall POI50.png]] - 16x16 <br/><span style="font-size:x-small;">Tower, Alliance damaged</span>
* 51 [[File:IconSmall POI51.png]] - 16x16 <br/><span style="font-size:x-small;">Tower, Alliance destroyed</span>
* 52 [[File:IconSmall POI52.png]] - 16x16 <br/><span style="font-size:x-small;">Tower, Horde damaged</span>
* 53 [[File:IconSmall POI53.png]] - 16x16 <br/><span style="font-size:x-small;">Tower, Horde destroyed</span>
* 54 [[File:IconSmall POI54.png]] - 16x16 <br/><span style="font-size:x-small;">Tower, damged</span>
* 55 [[File:IconSmall POI55.png]] - 16x16 <br/><span style="font-size:x-small;">Tower, destroyed</span>
* 56 [[File:IconSmall POI56.png]] - 16x16 <br/><span style="font-size:x-small;">Bridge</span>
* 57 [[File:IconSmall POI57.png]] - 16x16 <br/><span style="font-size:x-small;">Bridge, damaged</span>
* 58 [[File:IconSmall POI58.png]] - 16x16 <br/><span style="font-size:x-small;">Bridge, destroyed</span>
* 59 [[File:IconSmall POI59.png]] - 16x16 <br/><span style="font-size:x-small;">Bridge, Horde</span>
* 60 [[File:IconSmall POI60.png]] - 16x16 <br/><span style="font-size:x-small;">Bridge, Horde damaged</span>
* 61 [[File:IconSmall POI61.png]] - 16x16 <br/><span style="font-size:x-small;">Bridge, Horde destroyed</span>
|valign="top" width="20%"|
* 62 [[File:IconSmall POI62.png]] - 16x16 <br/><span style="font-size:x-small;">Bridge, Alliance</span>
* 63 [[File:IconSmall POI63.png]] - 16x16 <br/><span style="font-size:x-small;">Bridge, Alliance damaged</span>
* 64 [[File:IconSmall POI64.png]] - 16x16 <br/><span style="font-size:x-small;">Bridge, Alliance destroyed</span>
* 65 [[File:IconSmall POI65.png]] - 16x16 <br/><span style="font-size:x-small;">Workshop</span>
* 66 [[File:IconSmall POI66.png]] - 16x16 <br/><span style="font-size:x-small;">Workshop, damaged</span>
* 67 [[File:IconSmall POI67.png]] - 16x16 <br/><span style="font-size:x-small;">Workshop, destroyed</span>
* 68 [[File:IconSmall POI68.png]] - 16x16 <br/><span style="font-size:x-small;">Workshop, Horde</span>
* 69 [[File:IconSmall POI69.png]] - 16x16 <br/><span style="font-size:x-small;">Workshop, Horde damaged</span>
* 70 [[File:IconSmall POI70.png]] - 16x16 <br/><span style="font-size:x-small;">Workshop, Horde destroyed</span>
* 71 [[File:IconSmall POI71.png]] - 16x16 <br/><span style="font-size:x-small;">Workshop, Alliance</span>
* 72 [[File:IconSmall POI72.png]] - 16x16 <br/><span style="font-size:x-small;">Workshop, Alliance damaged</span>
* 73 [[File:IconSmall POI73.png]] - 16x16 <br/><span style="font-size:x-small;">Workshop, Alliance destroyed</span>
* 74 [[File:IconSmall POI74.png]] - 16x16 <br/><span style="font-size:x-small;">Gate</span>
* 75 [[File:IconSmall POI75.png]] - 16x16 <br/><span style="font-size:x-small;">Gate, damaged</span>
* 76 [[File:IconSmall POI76.png]] - 16x16 <br/><span style="font-size:x-small;">Gate, destroyed</span>
* 77 [[File:IconSmall POI77.png]] - 16x16 <br/><span style="font-size:x-small;">Gate, Horde</span>
* 78 [[File:IconSmall POI78.png]] - 16x16 <br/><span style="font-size:x-small;">Gate, Horde damaged</span>
* 79 [[File:IconSmall POI79.png]] - 16x16 <br/><span style="font-size:x-small;">Gate, Horde destroyed</span>
* 80 [[File:IconSmall POI80.png]] - 16x16 <br/><span style="font-size:x-small;">Gate, Alliance</span>
* 81 [[File:IconSmall POI81.png]] - 16x16 <br/><span style="font-size:x-small;">Gate, Alliance damaged</span>
* 82 [[File:IconSmall POI82.png]] - 16x16 <br/><span style="font-size:x-small;">Gate, Alliance destroyed</span>
* 83 [[File:IconSmall POI83.png]] - 16x16 <br/><span style="font-size:x-small;">Wall, horizontal</span>
* 84 [[File:IconSmall POI84.png]] - 16x16 <br/><span style="font-size:x-small;">Wall, horizontal damaged</span>
* 85 [[File:IconSmall POI85.png]] - 16x16 <br/><span style="font-size:x-small;">Wall, horizontal destroyed</span>
* 86 [[File:IconSmall POI86.png]] - 16x16 <br/><span style="font-size:x-small;">Wall, Horde horizontal</span>
* 87 [[File:IconSmall POI87.png]] - 16x16 <br/><span style="font-size:x-small;">Wall, Horde horizontal damaged</span>
* 88 [[File:IconSmall POI88.png]] - 16x16 <br/><span style="font-size:x-small;">Wall, Horde horizontal destroyed</span>
* 89 [[File:IconSmall POI89.png]] - 16x16 <br/><span style="font-size:x-small;">Wall, Alliance horizontal</span>
* 90 [[File:IconSmall POI90.png]] - 16x16 <br/><span style="font-size:x-small;">Wall, Alliance horizontal damaged</span>
* 91 [[File:IconSmall POI91.png]] - 16x16 <br/><span style="font-size:x-small;">Wall, Alliance horizontal destroyed</span>
* 92 [[File:IconSmall POI92.png]] - 16x16 <br/><span style="font-size:x-small;">Wall, vertical</span>
|valign="top" width="20%"|
* 93 [[File:IconSmall POI93.png]] - 16x16 <br/><span style="font-size:x-small;">Wall, vertical damaged</span>
* 94 [[File:IconSmall POI94.png]] - 16x16 <br/><span style="font-size:x-small;">Wall, vertical destroyed</span>
* 95 [[File:IconSmall POI95.png]] - 16x16 <br/><span style="font-size:x-small;">Wall, Horde vertical</span>
* 96 [[File:IconSmall POI96.png]] - 16x16 <br/><span style="font-size:x-small;">Wall, Horde vertical damaged</span>
* 97 [[File:IconSmall POI97.png]] - 16x16 <br/><span style="font-size:x-small;">Wall, Horde vertical destroyed</span>
* 98 [[File:IconSmall POI98.png]] - 16x16 <br/><span style="font-size:x-small;">Wall, Alliance vertical</span>
* 99 [[File:IconSmall POI99.png]] - 16x16 <br/><span style="font-size:x-small;">Wall, Alliance vertical damaged</span>
* 100 [[File:IconSmall POI100.png]] - 16x16 <br/><span style="font-size:x-small;">Wall, Alliance vertical destroyed</span>
* 101 [[File:IconSmall POI101.png]] - 16x16 <br/><span style="font-size:x-small;">Combat</span>
* 102 [[File:IconSmall POI102.png]] - 16x16 <br/><span style="font-size:x-small;">Gate, yellow</span>
* 103 [[File:IconSmall POI103.png]] - 16x16 <br/><span style="font-size:x-small;">Gate, yellow damaged</span>
* 104 [[File:IconSmall POI104.png]] - 16x16 <br/><span style="font-size:x-small;">Gate, yellow destroyed</span>
* 105 [[File:IconSmall POI105.png]] - 16x16 <br/><span style="font-size:x-small;">Gate, purple</span>
* 106 [[File:IconSmall POI106.png]] - 16x16 <br/><span style="font-size:x-small;">Gate, purple damaged</span>
* 107 [[File:IconSmall POI107.png]] - 16x16 <br/><span style="font-size:x-small;">Gate, purple destroyed</span>
* 108 [[File:IconSmall POI108.png]] - 16x16 <br/><span style="font-size:x-small;">Gate, green</span>
* 109 [[File:IconSmall POI109.png]] - 16x16 <br/><span style="font-size:x-small;">Gate, green damaged</span>
* 110 [[File:IconSmall POI110.png]] - 16x16 <br/><span style="font-size:x-small;">Gate, green destroyed</span>
* 111 [[File:IconSmall POI111.png]] - 16x16 <br/><span style="font-size:x-small;">White 0</span>
* 112 [[File:IconSmall POI112.png]] - 16x16 <br/><span style="font-size:x-small;">White 1</span>
* 113 [[File:IconSmall POI113.png]] - 16x16 <br/><span style="font-size:x-small;">White 2</span>
* 114 [[File:IconSmall POI114.png]] - 16x16 <br/><span style="font-size:x-small;">White 3</span>
* 115 [[File:IconSmall POI115.png]] - 16x16 <br/><span style="font-size:x-small;">White 4</span>
* 116 [[File:IconSmall POI116.png]] - 16x16 <br/><span style="font-size:x-small;">White 5</span>
* 117 [[File:IconSmall POI117.png]] - 16x16 <br/><span style="font-size:x-small;">White 6</span>
* 118 [[File:IconSmall POI118.png]] - 16x16 <br/><span style="font-size:x-small;">White 7</span>
* 119 [[File:IconSmall POI119.png]] - 16x16 <br/><span style="font-size:x-small;">White 8</span>
* 120 [[File:IconSmall POI120.png]] - 16x16 <br/><span style="font-size:x-small;">White 9</span>
* 121 [[File:IconSmall POI121.png]] - 16x16 <br/><span style="font-size:x-small;">White :</span>
* 122 [[File:IconSmall POI122.png]] - 16x16 <br/><span style="font-size:x-small;">?, Horde</span>
* 123 [[File:IconSmall POI123.png]] - 16x16 <br/><span style="font-size:x-small;">?, Horde damaged</span>
|valign="top" width="20%"|
* 124 [[File:IconSmall POI124.png]] - 16x16 <br/><span style="font-size:x-small;">?, Horde destroyed</span>
* 125 [[File:IconSmall POI125.png]] - 16x16 <br/><span style="font-size:x-small;">?, Alliance</span>
* 126 [[File:IconSmall POI126.png]] - 16x16 <br/><span style="font-size:x-small;">?, Alliance damaged</span>
* 127 [[File:IconSmall POI127.png]] - 16x16 <br/><span style="font-size:x-small;">?, Alliance destroyed</span>
* 128 [[File:IconSmall POI128.png]] - 16x16 <br/><span style="font-size:x-small;">Tower, green</span>
* 129 [[File:IconSmall POI129.png]] - 16x16 <br/><span style="font-size:x-small;">Tower, green damaged</span>
* 130 [[File:IconSmall POI130.png]] - 16x16 <br/><span style="font-size:x-small;">Tower, green destroyed</span>
* 131 [[File:IconSmall POI131.png]] - 16x16 <br/><span style="font-size:x-small;">Tower, yellow</span>
* 132 [[File:IconSmall POI132.png]] - 16x16 <br/><span style="font-size:x-small;">Tower, yellow damaged</span>
* 133 [[File:IconSmall POI133.png]] - 16x16 <br/><span style="font-size:x-small;">Tower, yellow destroyed</span>
* 134 [[File:IconSmall POI134.png]] - 16x16 <br/><span style="font-size:x-small;">Skull, orange</span>
* 135 [[File:IconSmall POI135.png]] - 16x16 <br/><span style="font-size:x-small;">Siege workshop</span>
* 136 [[File:IconSmall POI136.png]] - 16x16 <br/><span style="font-size:x-small;">Siege workshop, Alliance</span>
* 137 [[File:IconSmall POI137.png]] - 16x16 <br/><span style="font-size:x-small;">Siege workshop, Alliance assaulted</span>
* 138 [[File:IconSmall POI138.png]] - 16x16 <br/><span style="font-size:x-small;">Siege workshop, Horde</span>
* 139 [[File:IconSmall POI139.png]] - 16x16 <br/><span style="font-size:x-small;">Siege workshop, Horde assaulted</span>
* 140 [[File:IconSmall POI140.png]] - 16x16 <br/><span style="font-size:x-small;">Hangar</span>
* 141 [[File:IconSmall POI141.png]] - 16x16 <br/><span style="font-size:x-small;">Hangar, Alliance</span>
* 142 [[File:IconSmall POI142.png]] - 16x16 <br/><span style="font-size:x-small;">Hangar, Alliance assaulted</span>
* 143 [[File:IconSmall POI143.png]] - 16x16 <br/><span style="font-size:x-small;">Hangar, Horde</span>
* 144 [[File:IconSmall POI144.png]] - 16x16 <br/><span style="font-size:x-small;">Hangar, Horde assaulted</span>
* 145 [[File:IconSmall POI145.png]] - 16x16 <br/><span style="font-size:x-small;">Docks</span>
* 146 [[File:IconSmall POI146.png]] - 16x16 <br/><span style="font-size:x-small;">Docks, Alliance</span>
* 147 [[File:IconSmall POI147.png]] - 16x16 <br/><span style="font-size:x-small;">Docks, Alliance assaulted</span>
* 148 [[File:IconSmall POI148.png]] - 16x16 <br/><span style="font-size:x-small;">Docks, Horde</span>
* 149 [[File:IconSmall POI149.png]] - 16x16 <br/><span style="font-size:x-small;">Docks, Horde assaulted</span>
* 150 [[File:IconSmall POI150.png]] - 16x16 <br/><span style="font-size:x-small;">Refinery</span>
* 151 [[File:IconSmall POI151.png]] - 16x16 <br/><span style="font-size:x-small;">Refinery, Alliance</span>
* 152 [[File:IconSmall POI152.png]] - 16x16 <br/><span style="font-size:x-small;">Refinery, Alliance assaulted</span>
* 153 [[File:IconSmall POI153.png]] - 16x16 <br/><span style="font-size:x-small;">Refinery, Horde</span>
* 154 [[File:IconSmall POI154.png]] - 16x16 <br/><span style="font-size:x-small;">Refinery, Horde assaulted</span>
|} </onlyinclude>

Revision as of 03:41, 13 August 2009

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

Landmarks for API GetMapLandmarkInfo.

POIIcons.blp