Fandom

WoWWiki

API ProcessMapClick

104,755pages on
this wiki
Add New Page
Talk0 Share
WoW API < ProcessMapClick

Passes a click on the map to the client, which then calculates if the zone has to be changed

ProcessMapClick(x, y)

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)

ExampleEdit

ProcessMapClick(0.456742343, 0.623435432);

ResultEdit

Changes the world map zoom to another zone, if Blizzard has defined the region of the click as a link.

NotesEdit

This is one of Blizzard's "magic" functions. It set the world map zoom in dependence on the click coordinates, issuing appropriate events.

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.