Wikia

WoWWiki

Watchlist Recent changes

API GetMapOverlayInfo

Main Menue



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.

Pages on WoWWiki

95,750pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
58,025photos on this wiki
See more >

Recent Wiki Activity

See more >

Recent Questions

Around Wikia's network

Random Wiki