Fandom

WoWWiki

API GetMapOverlayInfo

104,672pages on
this wiki
Add New Page
Talk0 Share
WoW API < GetMapOverlayInfo

Returns the information about an overlay on the current world map.

textureName, texWidth, texHeight, ofsX, ofsY, mapX, mapY = GetMapOverlayInfo(overlayIndex);

ParametersEdit

ArgumentsEdit

overlayIndex 
Number - Indicates which overlay to query (from 1 to GetNumMapOverlays())

ReturnsEdit

textureName 
String - The path of the overlay texture
texWidth 
Number - The width of the resulting texture in pixels.
texHeight 
Number - The height of the resulting texture in pixels.
ofsX 
Number - X direction pixel offset of the overlay texture from the map texture
ofsY 
Number - Y direction pixel offset of the overlay texture from the map texture
mapX 
Number - Unknown - always 0 and not used in UI.
mapY 
Number - Unknown - always 0 and not used in UI.

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.

Also on Fandom

Random Wiki