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