Fandom

WoWWiki

API UpdateMapHighlight

104,634pages on
this wiki
Add New Page
Talk0 Share

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.

WoW API < UpdateMapHighlight
name, fileName, texPctX, texPctY, texX, texY, scrollX, scrollY = UpdateMapHighlight(x, y);

Provides rollover region detection for the map frame.

ParametersEdit

ArgumentsEdit

Number - X position of the click (A proportion between 0 and 1, relative to WorldMapDetailFrame)
Number - Y position of the click (A proportion between 0 and 1, relative to WorldMapDetailFrame)

ReturnsEdit

name 
String - The name of the area which is being pointed at.
fileName 
String - The filename of the highlight texture to use, or nil if none.
texPctX 
Number - Proportion of the highlight texture's full width to use (proportion from 0 to 1) this is a guess
texPctY 
Number - Proportion of the highlight texture's full height to use (proportion from 0 to 1) this is a guess
texX 
Number - The width of the highlight texture as a proportion of the map's width (between 0 and 1)
texY 
Number - The height of the highlight texture as a proportion of the map's height (between 0 and 1)
scrollX 
Number - The X location of the start of the highlight texture as a proportion of the map's width (between 0 and 1)
scrollY 
Number - The Y location of the start of the highlight texture as a proportion of the map's height (between 0 and 1)

Also on Fandom

Random Wiki