Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
WoW
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
WoW:World of Warcraft API
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Mapping === These functions are related to display of the world map. :{{id|API|ClickLandmark}}(id) :{{id|API|GetChallengeModeMapInfo}} - Returns details about the challenge mode for an instance map :{{id|API|GetCorpseMapPosition}}() - Returns the position of the corpse on the current world map. :{{id|API|GetCurrentMapContinent}}() - Returns the number of the continent the world map is currently shown. :{{id|API|GetCurrentMapDungeonLevel}}() - Returns which level of a multi-level map is currently shown. :{{id|API|GetNumDungeonMapLevels}}() - Returns the number of levels in the currently shown zone map (0 for none). :{{id|API|GetCurrentMapAreaID}} () - Returns the area id of the current map. :{{id|API|GetCurrentMapZone}}() - Returns the number of the zone the world map is currently showing. :{{id|API|GetMapContinents}}() - Returns the continent names. :{{id|API|GetMapDebugObjectInfo}}(id) :{{id|API|GetMapInfo}}() - Returns the name and size of the current world map. :{{id|API|GetMapLandmarkInfo}}(landmarkIndex) - Returns information about a landmark on the current world map. :{{id|API|GetMapNameByID}}(id) - Returns the localized map name for a given MapID :{{id|API|GetMapOverlayInfo}}(overlayIndex) - Returns information about an overlay on the current world map. :{{id|API|GetMapZones}}(continentIndex) - Returns the zone names of a continent. :{{id|API|GetNumMapDebugObjects}}() :{{id|API|GetNumMapLandmarks}}() - Returns the number of landmarks on the current world map. :{{id|API|GetNumMapOverlays}}() - Returns the number of overlays on the current world map. :{{id|API|GetPlayerMapPosition}}("[[unitId|unit]]") - Returns the position of a unit on the current world map. :{{id|API|ProcessMapClick}}(x,y) - Passes a click to the client, which then calculates if the zone has to be changed. :{{id|API|QuestMapGetPOIInfoForQuest}}(questIndex, poiIndex) - returns details about a point of interest on the map :{{id|API|RequestBattlefieldPositions}}() - Request new data for GetBattlefieldPosition(). :{{id|API|SetDungeonMapLevel}}(level) - Sets which level of a multi-level map (Dalaran, dungeons, etc) is currently shown. :{{id|API|SetMapByID}}(id) - Set map by area id. :{{id|API|SetMapToCurrentZone}}() - Sets the current world map to the zone the player is presently in. :{{id|API|SetMapZoom}}(continentIndex[, zoneIndex]) - Sets the current world map to a specific continent and optionally zone. :{{id|API|SetupFullscreenScale}}() - Configures scale of full-screen views, such as the world map, to best fill screen. :UI {{id|API|ToggleWorldMap}}() - Turns the world map on/off. :{{id|API|UpdateMapHighlight}}(x,y) - Provides map rollover information for highlighting. :{{id|API|CreateWorldMapArrowFrame}}("frame") - create a arrow cursor for the player position and orientation. :{{id|API|UpdateWorldMapArrowFrames}}() - update the orientation of the arrow cursor based on the current player orientation. :{{id|API|ShowWorldMapArrowFrame}}(bool) - show or hide the arrow representing the player. :{{id|API|PositionWorldMapArrowFrame}}(x,y) - set the position of the arrow representing the player :{{id|API|ZoomOut}}() - "Zooms out" of the current map: going from zone to continent to world view.
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)